An open API service indexing awesome lists of open source software.

https://github.com/danutsss/facebook-permanent-token-generator

A simple JavaScript application which can generate never-expiring access tokens.
https://github.com/danutsss/facebook-permanent-token-generator

facebook-api facebook-graph-api javascript

Last synced: about 1 year ago
JSON representation

A simple JavaScript application which can generate never-expiring access tokens.

Awesome Lists containing this project

README

          

# Facebook Permanent Token Generator

## Where do I get the APP_ID & APP_SECRET?

To get **************************************APP_ID & APP_SECRET**************************************, you’ll need to log in into:

[Meta for Developers](https://developers.facebook.com/)

Then, you’ll go to ************My Apps > your application > Settings > Basic************ and copy your application’s ****************************************APP_ID & APP_SECRET.****************************************

## Where do I get the User Access Token?

To get your short lived `access_token`, you’ll access the Graph API Explorer on the following link:

[Graph API Explorer - Meta for Developers](https://developers.facebook.com/tools/explorer/)

Select the application you want to get the `access_token` for in the **Meta App** drop-down menu, then select **Get User Access Token** in the **User or Page** drop-down menu. In the **Permission** section, check `pages_show_list`, then click **Generate Access Token.**