wael34218
wael34218

Reputation: 4930

Can I create Page Tab through Graph API?

I am currently developing an web application on Rails. I want the user to be able to create his own facebook page. I thought of creating custom Tab for him on my main application or page.

Can Graph API create Page Tabs programatically?

Upvotes: 0

Views: 558

Answers (1)

Lix
Lix

Reputation: 47986

I do not believe that it is possible to actually create a new application via the API. This would open a flood gate for possible spam.

What you will be able to do is allow users to add your tab application to their page and then provide them with some customization. You can add a tab to a page programmatically with a post call similar to this -

https://graph.facebook.com/PAGE_ID/tabs

along with these parameters -

  • app_id - Tab application to be added.
  • access_token - An access token with permissions to manage the page (manage_pages).

References -

Upvotes: 1

Related Questions