How to Generate a Never Expiring Facebook Page Access Token

Image for post
Image for post

Background

Due to ongoing changes in Facebook API caused by Cambridge Analytica data leak, apps have lost access to public posts & event API. Hence no posts or events are returned when using an app access token, if the app is not verified by Facebook.

Solution

As a solution, never expiring page access token can be retrieved as per the instructions listed in the following steps.

Caveats

  • User needs to be both page admin and the app admin.
  • Page access token will be invalidated if the user (admin) changes his/her password.

Steps

  1. Sign up for Facebook developers portal and create a new app. (You can skip this step if you already have an app)
Image for post
Image for post
Image for post
Image for post
  • In the next drop-down select Get user access token.
Image for post
Image for post
Image for post
Image for post
  • Generate user access token by clicking on “Get Access Token” button. This will open a popup where you need to select the relevant page you manage.
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post
Image for post

Conclusion

By following the above steps, you will be able to get a never-expiring page access token which you can use with your own page integrations.

Buy me a coffee
Buy me a coffee

Written by

I am an energetic and enthusiastic individual who is driven towards realizing personal goals with self motivation.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store