How do I access a facebook page's tabs data in the Graph API -


according facebook developer's article on pages, pages have tabs connection. says common tabs can accessed plain text string.

when try access tabs data on page, oauthexception error flagged stating subject must page.

any ideas why page throwing exception?

page id is:136789689670650

when use graph query information on root, 136789689670650, page information pulled up. when use graph query information on tabs, 136789689670650/tabs/reviews, exception thrown.

thanks.

you need things in order access pages tabs:

send http https://graph.facebook.com/user_id/accounts, user_id page owner. can /me/accounts if it's own page.

this return json data structure this:

{ data: [ { name: "page name", access_token: "page access token", category: "", id: "136789689670650", } ] }

data array of pages admin'd user. each page has it's own access_token need use next request.

once have page access token can send request /136789689670650/tabs/reviews using page access token.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -