Search code examples
javascriptfacebookfacebook-fqlfacebook-opengraphfacebook-page

access token fanpage for dashboard


I want to get access to my fanpage to show insights of the page on another website as a dashboard on a TV in our company.

  1. How can I get a Access Token? I´ve already tried it in developer-facebook section. But I only get the Access Token for my personal profile.
  2. Do the Access Token expire?

Solution

  • Facebook documentation already has a step-by-step tutorial for this.

    Mainly, you need:

    1. manage_pages permission
    2. extend your user access token
    3. get a page access token with the above user token (the generated page token will not expire)
    4. You also need the read_insights permission for your specific case