
Question:
I'm using Facebook Javascript API for an App I'm developing in a secure canvas. I'm testing from within facebook with an app Admin account (therefore all permissions are granted).
In sync order I'm:
initializing the API -> logging in -> /me -> /me/invitable_friends.
The first 3 actions work as expected. The last one - /me/invitable_friends - returns an empty data array.
Please let me know what you think.
Answer1:"A common mistake when using the Invitable Friends API is not first verifying that your app has the required user_friends permission. It is necessary to have granted the user_friends permission in order to receive results from the Invitable Friends API. Without the permission, the response from Facebook will be an empty list."
<a href="https://developers.facebook.com/docs/games/invitable-friends/v2.2" rel="nofollow">https://developers.facebook.com/docs/games/invitable-friends/v2.2</a>
Answer2:<strong>April 4th, 2018 - Update</strong>
Invitable Friends was deprecated on 4.4.18 and now return an empty list. Facebook did it after Cambridge Analytica story.