Categories: Facebook

Steps to create never expiring Facebook access token

Jul 4, 2018 1 min.

Open Graph API Explorer Select the required application in the “Facebook App” drop-down menu Select “Get User Access Token” under “User or Page” (this opens a popup) In the popup, grant access from a Facebook account that has access to manage the target pages (This popup will flash and disappear if permissions are already granted) Make sure “manage_pages” and “publish_pages” (optionally pages_show_list) are selected under “Add a Permission”, if not select them Click “Generate Token” Copy the token that appears in the “Access Token” field (which is your short-lived access token) Invoke the following URL which gives long lived token (expires in 2 months): https://graph.