php - Using Facebook Graph API without User Access Token -


what want achieve

i want display posts of public facebook page on website. reason not make sense use user access token, since requires login.

possible solution found

i know can use app tokens. there related question on stackoverflow. tested using graph api explorer.

https://graph.facebook.com/v2.3/google/statuses

returns: (#100) requires user session

https://graph.facebook.com/v2.3/google/posts

returns: valid result, totally different result same request user access token (less posts). same request nike delivers better result.

questions

  • why same request deliver 2 diferent results?
  • can grab posts app token?
  • under conditions can full timeline without user access token?

it's in docs. there's fundamental difference between posts , statuses, , permission requirements documented:

quotes:

  • an access token required view publicly shared posts.
  • a user access token required retrieve posts visible person.
  • a page access token required retrieve other posts.

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -