• Blog
  • Tutorials
  • How to Get Facebook Access Token in a couple of minutes

How to Get Facebook Access Token in a couple of minutes

Share
Working with the Facebook API, specifically, displaying your personal Facebook profile page on a website, requires a Access Token.

Here’s a step-by-step tutorial on how to create a Facebook Access Token in a matter of minutes. Follow these steps, and the whole process will be easy and fast.

  1. Go to https://developers.facebook.com/apps.
go to Facebook developers
  1. Press Add New App.
Add New Facebook App
  1. Enter the name of the website where you’re going to use the access token.
Enter the App's name
  1. Press Create App ID and enter the capture into the capture field.
Create Facebook APP ID
  1. Go to https://developers.facebook.com/tools/explorer” and replace Graph API Expolrer with the app you’ve created.
go to Facebook Developer tools
  1. Press Get Token and select Get User Access Token.
go to Facebook developers
  1. Check the required options on the popup window. In order to work with Elfsight Facebook Feed, you need to check the following ones:
    • user_about_me
    • user_likes
    • user_photos
    • user_posts
    • user_status
    • user_videos
    • user_managed_groups
Check the required option
  1. Press Get Access Token.
Get Facebook Access Token
  1. Confirm all the requests.
  2. Click Info icon next to the token.
Click Info icon
  1. Press Open in Access Token Tool.
Open in Access Token Tool
  1. Press Extend Access Token.
Press extend Facebook Access Token
Important! Facebook access token is valid only for two months, so make sure you take all these steps again in two months, to get a new access token.

Using a Facebook Access Token with Elfsight Facebook Feed

To display your personal Facebook page with Elfsight plugin is very easy, and it only requires you to add your Access Token to your widget. To do it, just copy the token you get and paste it to the Facebook User Token field in your widget’s editor:
Using a Facebook Access Token with Facebook Feed