0

Is it possible to create a Facebook tab application which a user can install to their page, which allows the passing of a customization value.

It is possible to create a link which will load the application on the user's page, and pass an app_data value to your app:

http://developers.facebook.com/docs/appsonfacebook/pagetabs/

In addition, your application will also receive a string parameter called app_data as part of signed_request if an app_data parameter was set in the original query string in the URL your tab is loaded on. For the Shop Now link above, that could look like this: "http://www.facebook.com/YourPage?v=app_1234567890&app_data=any_string_here". You can use that to customize the content you render if you control the generation of the link.

But is it possible to distribute a personalized link (i.e. including an id=xyz query-string parameter) to an app which, when installed, adds an app tab to the users page,and will include this personalization value in the app_data (either in the GET or POST data), and thus enable the page to be personalized by parsing out the value (as illustrated here Facebook webforms app get app_data querystring)

Community
  • 1
  • 1
Matt Evans
  • 7,113
  • 7
  • 32
  • 64

1 Answers1

1

In your application settings, you can set a "Page Tab Edit URL" :

The URL to the Edit link displayed on your application's profile box. An admin of a Facebook Page that has added your application can follow the URL to edit the application settings for the Page.

Source

When your app is added to a page, and a visitor is coming, you'll get a Signed Request (Posted to your app) containing the page ID, more infos here. You just have to store custom infos for each page ID you get.

ChrisDelsart
  • 463
  • 2
  • 11
  • Thanks Chris I'll check this out, and post back here – Matt Evans Sep 20 '11 at 15:26
  • Thanks @ChrisDelsart this solution looks like it will work. It does require the page admin to go through the edit steps, but that is easily documented and should be ok – Matt Evans Sep 21 '11 at 14:35