sepek
sepek

Reputation: 11

Facebook long lived Page Access Token

I am administrator of facebook page which DOES NOT have a classic facebook account assigned. So I am not able to create any facebook application as you can see in Picture 1. How can I obtain long lived (never expiring) page access token, which I need to use Graph API? I need to post messages to the facebook page from my server.

Thanks for advice

enter image description here

Upvotes: 1

Views: 5056

Answers (1)

andyrandy
andyrandy

Reputation: 73984

You do need a User account that is admin of the Facebook Page in order to get a Page Token. Without a User account, it is not possible.

Here´s what you need to do:

  • Authorize the User account in the App - which means, get a User Access Token
  • Extend the User Token
  • Get an Extended Page Token with /me/accounts or /[page-id]?fields=access_token

Some Links for more information:

Upvotes: 1

Related Questions