php - How can I read a Facebook fan page with the Graph API? -


a few more specifics:

we have amount of fans on restaurant's page, we'd run our own website well, same content (specials, etc.,) facebook.

with said, we'd continue posting our daily specials on facebook, 3,000 people see posts , bring in amount of business there.

i have small php script i've written can pull posts off of wall, verify wrote them , small #hashtag verify want posted on main page of our website.

however, periodically access token expires and, therefore, suspect i'm not going correctly.

does have good, reliable way read posts facebook fan page?

thank you!

you can try changing access token expiry time offline_access permission.

facebook permissions page mentions offline_access;

enables application perform authorized requests on behalf of user @ time. default, access tokens expire after short time period ensure applications make requests on behalf of user when actively using application. permission makes access token returned our oauth endpoint long-lived.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -