How to Get a Facebook Page Access Token?

0
101

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 Facebook Page Events Solution, a page access token is required if you want to display high quality event images, event description, maps, past events, instant sync  and other useful event data.

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

Step #1: Create your Facebook application

1.1 Go to Facebook Developers website and login. Facebook might ask you to register as a Developer, just follow the registration process.

1.2 On the upper right corner, click “My Apps” menu. On the drop-down, click “Add New App” option.

1.3 On the pop up, enter “SK App 2018” as “Display Name” and on the “Contact Email” field, enter your email address. Click “Create App ID” button. Pass the security check and click the “Submit” button.

Step #2: Get your temporary page access token

2.1 Go to the Graph API Explorer. On the upper right corner, click “Graph API explorer”, click “SK App 2018” app to change it.

2.2 On the access token field, click “Get Token” drop-down and click “Get Page Access Token” option. It might show you checkbox options, check “manages_pages” and “pages_show_list” and click the blue button.

2.3 On the pop up, click “Continue as…” button.

2.4 Click “OK” button. It will show the list of pages you manage.

2.5 Click your target Facebook page under the “Page Access Tokens” section. It will generate the temporary access token. Copy it from the “Access Token” field.

Step #3: Get your extended page access token

3.1 Go to the Access Token Debugger. Enter the temporary access token and click the “Debug” button.

3.2 On the bottom part of the page, click “Extend Access Token” button. Click the “Debug” button right across the generated access token.

3.3 It will show you a new page where it says the access token will expire in two months. We need the access token that never expires.

3.4 Go to the access token converter here. Copy the access token from the previous step. Paste it in the box. Click the green “Show…” button. It will show you a blue “Debug” button. Click that “Debug” button.

3.5 It will show you a new page where it says the access token in the field never expires.

Now that you got the page access token that never expires, copy the access token from the field. Paste it in “Page Access Token” field in the SociableKIT dashboard.

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.

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here