Note that there are some explanatory texts on larger screens.

plurals
  1. POLong-lasting FB access-token for server to pull FB page info
    primarykey
    data
    text
    <p>I'm aware that there are many questions about Facebook access-tokens and the grief they cause, but despite much experimentation and reading many frustratingly vague blog articles (FB and otherwise), I'm still struggling to get a clear answer to my needs. Let me succinctly break down my process so far:</p> <ul> <li>I am creating a site that, server-side, needs to pull the posts/statuses from a single Facebook Page</li> <li>I am an admin of that Facebook Page</li> <li>I have created a Facebook App</li> <li>Using the <a href="http://developers.facebook.com/tools/explorer/" rel="noreferrer">Facebook Graph API Explorer</a>, I've generated a short-lived key, connected to my app and my account, that grants permission to my account to view the access-tokens for my pages</li> <li>I've converted my short-lived key to a long-lived key (60 days) ala scenario 4 from <a href="http://developers.facebook.com/roadmap/offline-access-removal/" rel="noreferrer">this</a></li> </ul> <p>And here's where I am stuck. My 60 day key works fine for my server to pull the info needed from the page, but as far I can tell, there's no way to programmatically extend that 60 day key. I also do not know of a way to generate a new short-lived key without manually going to the Facebook Graph API Explorer and creating one.</p> <p>Since it is my server making the requests to the Facebook API and not a user-based system (where I could easily request that a user authorize the Facebook app again), this creates a very clunky system. Since Facebook deprecated <code>offline_access</code>, is there really no permanent way to have my server pull info from my own page? Will I really have to create a new key by hand and manually update my server with it every 60 days?</p> <p>Or is there something I'm missing?</p> <p><strong>Update:</strong></p> <blockquote> <p><em>The step-by-step guide that was previously found here has been migrated down into its own <a href="https://stackoverflow.com/a/21927690/506338">answer</a>.</em></p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload