- Home /
Facebook unity sdk: is it possible to send friend invites/app requests to non app users ?
I'm working with the official facebook sdk and example scene for unity and am sending app requests using : FB.AppRequest() which returns a list of friends to send invites to.
However no matter what I try, I only get a list of friends associated with the app and cannot see any other friends who haven't played the app.
I have even tried setting the 'app_non_user' filter, but this makes no difference.
I have read on the Invitable_Friends api, but am not sure how this would be implemented in the unity sdk.
Any advice would be much appreciated. Thanks
Answer by zzzzzz789 · Jan 28, 2015 at 06:31 AM
The only API to retrieve a list of friends who have not yet played the game is to use the invitable_friends list in Graph 2.0 and beyond. See: https://developers.intern.facebook.com/docs/graph-api/reference/v2.2/user/invitable_friends
This list is only available for games with a Facebook Canvas implementation. See: https://developers.intern.facebook.com/docs/games/invitable-friends/v2.2#implementation
If you release your game on Facebook Canvas you will have access to this list on mobile.