Sign In Register

How can we help you today?

Start a new topic
Answered

SendFriendMessageRequest returns NOT_FRIEND error

I'm also trying out SendFriendMessageRequest but I get an error "NOT_FRIEND"

How do I add a friend and / or accept one?


If friend request acceptance required to send / receive a message?

If so, is there a way to automatically trigger that friend request acceptance on a friend request received?


Best Answer

Hi, 


In it's simplest form, a team with the social toggle set to on (like below) will treat any member of that team as a game friend.



All the members in a team of this team type will show up in a ListGameFriendsRequest and you will then be able to send them a message with a SendFriendMessageRequest. We have a guide on how to implement a social friend system which you may find useful. You can find it here.


Thanks,

Liam



1 Comment

Answer

Hi, 


In it's simplest form, a team with the social toggle set to on (like below) will treat any member of that team as a game friend.



All the members in a team of this team type will show up in a ListGameFriendsRequest and you will then be able to send them a message with a SendFriendMessageRequest. We have a guide on how to implement a social friend system which you may find useful. You can find it here.


Thanks,

Liam



Login to post a comment