How to Get a Facebook Page Access Token?

Facebook requires a Page Access Token if you want to use the data from your Facebook page, customize it and embed it on your website through SociableKIT.

For example, in SociableKIT Facebook Page Events Solution, a page access token is required if you want your feed to update every hour, display past events, and more useful features.

IMPORTANT: For Facebook page events solution, if you will use a page access token, your Facebook page must be the creator or a co-host of an event that you want to display. Learn more about the rules here: With Token vs No Token

How to get a Facebook page access token? Follow steps below. This will work only if you are an admin of the Facebook page you’re trying to get data from.

Video tutorial

Text tutorial

1. Go to developers.facebook.com and login with your Facebook account.

2. On the upper right corner, click “My Apps” and “Add New App”.

3. On the pop up, enter your “Display Name” and “Contact Email” and click “Create App ID” button.

4. Click “Settings”. Click “Basic” menu. Take note of your “App ID” and “App Secret” keys. See Image 1 below.

5. Enter “www.sociablekit.com” on your “App Domains” field. Click the blue “Save Changes” button at the bottom.

Image 1

Make sure your app Status is In Development. See Image 1.1 below.

Image 1.1

6. Click Products “+” button. Click Facebook Login “Set Up” button. See Image 2 below.

Image 2

7. Under Facebook Login, click “Settings” menu (see Image 3 below) and on “Valid OAuth Redirect URIs” field, enter:

https://www.sociablekit.com/app/tokens/facebook_page_tokens.php

Image 3

8. Login your SociableKIT account and go to this page. Enter your App ID and App Secret. Click the Login with Facebook button. Click Continue as… button. Click Next button. Click Select All checkbox. Click Next button. Click Done button. Click OK button.

Please note that there is NO NEED to submit your app for review. This is because you will only use this app for your own Facebook page.

9. Find your target Facebook page and copy the page access token from the text area below it. See Image 4 below.

Image 4

10. Go back to SociableKIT dashboard. Paste the access token in “Page Access Token” field. Hit the “Save Changes” button at the bottom.

Image 5

Done! Great job!

Using the page access token, you can also make an event from another Facebook page appear on your events feed. But your page need to be a co-host of that event first. Follow this tutorial if you want to be an event co-host.

IMPORTANT: Facebook said there is a “page access token that never expires” and this is true only if:

1. You did not changed your password.

2. Your account was not affected by the recent Facebook security issues.

If you think your events feed is not syncing correctly, you need to re-enter your “page access token” so that your event images will look better, it will update every hour and it will show the past events.

Please follow our tutorial above carefully.

Let me know if you need help doing the steps above. I can walk you through each steps. Just send an email to mike@sociablekit.com and with a subject: Help – Facebook Page Access Token

16 COMMENTS

  1. Hello, I am trying to follow the tutorial, but it seems like the converter is not working currently. Is there any other way how to get unlimited token for now? Thanks!

  2. Hi, The converter is also not working for me. I get the following error:

    Warning: file_get_contents(https://graph.facebook.com/me?access_token=EAAECKEsf4G4BAGQaE4yA1basdfxxxJSUQ2HS7fUllXQj5V1jdZAykykbVMmnJ8kiiVyGTU4Spj6emBFz0mZBRlNtaJwJGhChCquYRSZBb7vmsfl64jhy7QUo54SesKZATXKYa2jDHzQDWedXjWVTbmM4pvtbsai63jgZA16iCDHKb&limit=100&fields=id,username,name,access_token): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /home/xxx/public_html/app/convert_token_to_never_expire.php on line 55

    Thanks

    • Hi Ellen, sorry for the late reply. We updated the tutorial above, would you follow it and see if the error is still there?

  3. Hi, I tried to follow this through but unfortunately when I try to create a page access token I get the error:
    Invalid Scopes: manage_pages
    Any ideas how to move forward?

  4. Hi, I tried to follow this through but unfortunately when I try to create a page access token I get the error:
    Invalid Scopes: manage_pages
    Any ideas how to move forward?

LEAVE A REPLY

Please enter your comment!
Please enter your name here