question

Nikolai avatar image
Nikolai asked

Add player friends from facebook.

Hello team,

We have an issue with adding player friends from Facebook. In our game we are using LinkFacebookAccount for connection a player with Facebook account. from this connection we can get player friends which we want to add like friends in our game. But I found API for adding only one friend for player (https://titleId.playfabapi.com/Client/AddFriend). I don't want to run calls for adding each player friend. Do you have some integration or maybe another API for adding list of friends? Maybe you have some recommendation we will be very grateful.


Best regards,

Nikolai

Friends
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Citrus Yan avatar image
Citrus Yan answered

No, currently only one friend can be added at a time. We are already integrated with Facebook for their friends lists so that you don’t need to manage them by yourself, just use “IncludeFacebookFriends” property and they’ll be automatically returned in get friend requests (and leaderboards). However, if this feature is important for you, you can add a post to the Feature Requests forum: All Posts in Feature Requests - Playfab Community, others can vote on it and potentially help prioritizing it.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.