Custom settings for Facebook page tab?

I am developing an iframe application for Facebook that requires some configuration for each installation, such as long / lat and some third-party API keys. I would prefer not to create a new application for each implementation.

Is it possible to allow the user (page owner) to define these parameters? Ideally, I would like to provide additional settings in the "Edit Settings" dialog box on the application administration page (currently the only option is "Custom Tab Name").

Thanks!

+4
source share
1 answer

Perhaps, but there is no simple / standard way to do this. I would try the following:

  • Your server will need to provide storage for each tab setting; they will link a specific tab to a special page.
  • On the iframe applicationโ€™s tab, add a link that will only appear if the user viewing the tab is the user associated with the tab. You can do this by looking for the page value in signed_request and verify that the user is an administrator.
  • When a user clicks on this link, you can open a dialog box to allow them to load user settings and save them to the server after performing the corresponding check.
  • The next time you download the tab, find and use the saved settings on your server.

You will need to do some processing for situations where page parameters have not yet been created, but which MUST do what you want.

+4
source

All Articles