Facebook Instant Games Get friends list

Post » Thu Apr 12, 2018 3:40 am

It is possible to extract the list of facebook friends to use in an instant game or invite challenges?
B
10
S
4
Posts: 33
Reputation: 873

Post » Thu Apr 12, 2018 3:43 am

Vlakdo wrote:It is possible to extract the list of facebook friends to use in an instant game or invite challenges?


Why would you need to extract it?

you can attach the invite button Facebook instant games comes with! automatically prompts the user to choose a friend and invite it to the game, however, the friend list will never be available for developers to see or download users friends as a list ... for various privacy reasons.
B
86
S
26
G
75
Posts: 1,440
Reputation: 47,810

Post » Thu Apr 12, 2018 3:56 am

gamecorpstudio wrote:
Vlakdo wrote:It is possible to extract the list of facebook friends to use in an instant game or invite challenges?


Why would you need to extract it?

you can attach the invite button Facebook instant games comes with! automatically prompts the user to choose a friend and invite it to the game, however, the friend list will never be available for developers to see or download users friends as a list ... for various privacy reasons.


For example, I would like to do this:
1)
Image

2)
Image

3)
Image

This works in a custom designed interface of the game.
B
10
S
4
Posts: 33
Reputation: 873

Post » Thu Apr 12, 2018 8:18 am

Basketball FRVR was one of the first games released. They were on the closed beta, built with other SDKs than we use now.

But when I play the game now, on both my android and iphone, they use the built in Invite-functionality. Where you can send invite to your friends.
And that function can also you use.
Last edited by fredriksthlm on Thu Apr 12, 2018 1:10 pm, edited 1 time in total.
B
19
S
6
G
1
Posts: 191
Reputation: 2,352

Post » Thu Apr 12, 2018 12:30 pm

fredriksthlm wrote:Basketball FRVR was one of the first games released. They were on the closed beta, built with other SDKs than we use now.

But when I play the game now, I cannot verify your screenshots. When I test the game now on both my android and iphone, they use the built in Invite-functionality. Where you can send invite to your friends.
And that function can also you use.


You're wrong, I've had the opportunity to confirm with FRVR and they using the current version of API v6.0+ in all their games, this version does not include this UI by default, so they built custom designed interface, creating a interface visually similar to the one used by the API in its versions 3.0.

And if you can check, if you play this game or other games published by FRVR or other developers you will realize that if this functionality is implemented in their game, these captures with current.
B
10
S
4
Posts: 33
Reputation: 873

Post » Thu Apr 12, 2018 1:08 pm

I played it now.

I get that screen Play with friends.
But the 'Play with friends'-list , it is the friends you have that are already playing the game. This list you can access using getConnectedPlayersAsync( )
Then they have the button Invite More friends, but that is just for the SharePayload with INVITE.


They do not have any functionality to include the friend list.
B
19
S
6
G
1
Posts: 191
Reputation: 2,352

Post » Thu Apr 12, 2018 4:49 pm

fredriksthlm wrote:I played it now.

I get that screen Play with friends.
But the 'Play with friends'-list , it is the friends you have that are already playing the game. This list you can access using getConnectedPlayersAsync( )
Then they have the button Invite More friends, but that is just for the SharePayload with INVITE.


They do not have any functionality to include the friend list.


It is correct @fredriksthlm with getConnectedPlayersAsync () I have the list of friends that have used the game and with this I can implement the functionalities that are required with this data. Thank you!
B
10
S
4
Posts: 33
Reputation: 873


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron