-1

I have to display different content for different pages using my app in a page tab.

I want to allow the user to add my app using the Add app to page dialog.

The problem is i have to get the page ids to know where the page tab app was added to.

If this is not possible: What are the best practices for providing a easy way to serve custom content to different pages in their page tabs?

Ben
  • 2,560
  • 4
  • 29
  • 43

1 Answers1

2

The signed_request is passed to all Page Tabs and contains the page id, as well as the user's admin status and whether the user has liked that page. This information is available even if the user has not authorized the app.

Gil Birman
  • 35,242
  • 14
  • 75
  • 119
  • Yes that I know. But somehow i need to know which page belongs to which custom page(user account in my system) and for that i need to get to know the page id when adding the app to the page. – Ben Aug 12 '12 at 15:56
  • 1
    To add an app to a page, use a the add tab dialog. When the user clicks add Facebook returns the page id's of all pages to which the app was added. – Gil Birman Aug 12 '12 at 16:02
  • http://facebook.stackoverflow.com/questions/8573603/redirect-to-page-with-add-page-tab-dialog – Gil Birman Aug 12 '12 at 16:03