Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I don't have access to get all invitable_friends at Facebook API using javascript

I'm trying to get all facebook invitable friends, yesterday it was working, but today the facebook API has return that

{
  "error": {
    "message": "(#100) No permission to access invitable_friends.",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": "ApJrz2NAGPx"
  }
}
like image 867
Nguyen Pham Avatar asked Oct 01 '16 03:10

Nguyen Pham


1 Answers

In addition to being a game, you must have the Canvas platform set up. And you must have a playable version of your game on canvas. If that is not the case, then you are not allowed to use invitable_friends in the first place.

Possible alternatives for inviting friends are explained here: https://developers.facebook.com/docs/apps/faq#faq_1291953124230220

like image 83
CBroe Avatar answered Oct 22 '22 18:10

CBroe