Search code examples
facebookfacebook-graph-apifacebook-unity-sdk

How to Support Facebook SDK for Unity on Mobile Platforms, Without having Facebook Canvas?


I am using Facebook-unity-sdk to for getting list of users friends. but i am not being able to get any data.

i also tried open graph explorer to fire graph API

the results were as followsenter image description here

Is there a way i could use some Graph API endpoint other then "invitable_friends" to retrieve list of all friends of user?


Solution

  • No, you can not. there is no other endpoint.

    well.. as far as i understood your question you can do one thing.

    Just add a platform(app on facebook) in your app settings, and when it asks you about "Canvas URL" just put any random website URL and save settings.

    now check if the "invitable_friends" is working or not.

    PS:-

    You don't have to run by the rules every time. :)