Adding Facebook Application to a page through API -


i trying add facebook application through api. used http://www.facebook.com/add.php?api_key=xxx&pages=1&page=xxx

this adds app tab in page , works. doubts are

1) supposed documented feature? couldn't find formal documentation (or missing something?)

2) method or there other means? for, above 1 requires active login. through graph api etc. through oauth_token used in external application.

3) else can other adding? making landing tab, etc.

thanks lot.

here how use graph api

https://graph.facebook.com/<page_id>/tabs?app_id=<your_app_id>&method=post&access_token=<previously_fetched_access_token_for_page_id> 

first need request access scope including 'manage_pages' within request. then, can user's pages using '/me/accounts?access_token='

once list of pages, each page should come access token use tabs api call.

here references -
http://forum.developers.facebook.net/viewtopic.php?pid=361995
https://developers.facebook.com/docs/reference/api/


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -