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

How to Get Facebook Access Token in a couple of minutes

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;
  2. go to Facebook developers
  3. Press Add New App;
  4. Add New Facebook App
  5. Enter the name of the website where you’re going to use the access token;
  6. Enter the App's name
  7. Press Create App ID and enter the capture into the capture field;
  8. Create Facebook APP ID
  9. Go to https://developers.facebook.com/tools/explorer” and replace Graph API Expolrer with the app you’ve created;
  10. go to Facebook Developer tools
  11. Press Get Token and select Get User Access Token;
  12. go to Facebook developers
  13. 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.
  14. Check the required option
  15. Press Get Access Token;
  16. Get Facebook Access Token
  17. Confirm all the requests;
  18. Click Info icon next to the token;
  19. Click Info icon
  20. Press Open in Access Token Tool;
  21. Open in Access Token Tool
  22. Press Extend Access Token;
  23. 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