Saturday, 15 September 2012

Facebook Fan Page API /home -



Facebook Fan Page API /home -

i trying acquire /home endpoint fan page using facebook api, returns error:

array ( [message] => can access "home" connection current user. [type] => graphmethodexception [code] => 100 )

i tried using:

the authtoken of page facebook api using /accounts the authtoken of parent business relationship has rights page

none of them work, returning same error every time.

note: works fine if seek /home of parent business relationship , using authtoken.

any ideas?

thanks!

you need utilize

get /{page_id}/feed

endpoint (https://developers.facebook.com/docs/graph-api/reference/v2.0/page/feed/).

there's no /{page_id}/home pages, see https://developers.facebook.com/docs/graph-api/reference/v2.0/page/#edges

facebook facebook-graph-api permissions facebook-php-sdk facebook-page

No comments:

Post a Comment