The stripped-down code below seems to work properly. I get logged into Facebook, receive a valid access token, get presented with a list of friends, can choose one or many of them and I am then returned a list of those chosen in a table called event.data. As expected, inside that table are two entries; id and fullName. The fullName is correct and shows the actual names of the FB users I chose. However, the ids look more like app ids and nothing like Facebook user ids. The output of event.data looks as follows:
Can I get you to make a small demo app using that code and file a bug report? It will need to be a main.lua, config.lua and the build.settings you’re using along with any other assets. Put that in a .zip file and use the Report a Bug link at the top of the page.
When you get the email confirmation of the bug, please post the caseID number back here.
We’re hoping to deprecate facebook.showDialog( “friends”) in a future release of the Facebook-v4 plugin as users can tag friends onto posts using facebook.showDialog( “link” ).
Do you guys have a use-case where you absolutely need to use facebook.showDialog( “friends” ) and the alternative isn’t sufficient?
We were not wanting to tag friends in posts. Instead, we were wanting to present the user with a list of their friends who do not have the app installed so they may send a game invite to them.
After some digging we think the Facebook IDs returned with the facebook.showDialog( “friends”) above are most likely “app-scoped” IDs. We decided to take another route and ended up using facebook.showDialog( “requests”) which seems to work for us.
Can I get you to make a small demo app using that code and file a bug report? It will need to be a main.lua, config.lua and the build.settings you’re using along with any other assets. Put that in a .zip file and use the Report a Bug link at the top of the page.
When you get the email confirmation of the bug, please post the caseID number back here.
And with that we’ve deprecated facebook.showDialog(“friends”) in favor of selecting friends in broader contexts, such as in the Share and Game Request Dialogs.
Consult the new Facebook Versioning/Upgrade guide for more info:
We’re hoping to deprecate facebook.showDialog( “friends”) in a future release of the Facebook-v4 plugin as users can tag friends onto posts using facebook.showDialog( “link” ).
Do you guys have a use-case where you absolutely need to use facebook.showDialog( “friends” ) and the alternative isn’t sufficient?
We were not wanting to tag friends in posts. Instead, we were wanting to present the user with a list of their friends who do not have the app installed so they may send a game invite to them.
After some digging we think the Facebook IDs returned with the facebook.showDialog( “friends”) above are most likely “app-scoped” IDs. We decided to take another route and ended up using facebook.showDialog( “requests”) which seems to work for us.
And with that we’ve deprecated facebook.showDialog(“friends”) in favor of selecting friends in broader contexts, such as in the Share and Game Request Dialogs.
Consult the new Facebook Versioning/Upgrade guide for more info: