You are on page 1of 2

File Config.

php
$config["appId"] = '314451232002408'; // App ID $config["secret"] = '2232e6f85a8731285eab9c2544de2b33'; //App Secret $config["fileUpload"] = false; // optional $config["cookie"] = true; // enable optional cookie support $paramsp['scope']='publish_stream,user_birthday,user_photos'; //Require permissions $paramsp['redirect_uri']='http://www.facebook.com/page.nail?sk=app_314451232002408'; // Redirect to Page //==============================================

File messager.php
$messager1 = Images_Result A $messager2 = Images_Result B $messager3 = Images_Result C $messager4 = Images_Result D $messager5 = Images_Result E $messager6 = Images_Result F $messager7 = Images_Result G $messager8 = Images_Result H //==================================================

Direct URL Example


You can also bring up the Add to Page Dialog by explicitly directing the user to the /dialog/pagetab endpoint:

https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID &display=popup&next=YOUR_URL

Ex: https://www.facebook.com/dialog/pagetab?app_id=314451232002408&display=popup&next=http://apps.facebook.c om/appfb-df The user will see a dialog that looks like the following:

Properties
app_id Your application's identifier. Required, but automatically specified by most SDKs. The URL to redirect to after the user clicks the Add Page Tab or Cancel buttons on the dialog. Required, but automatically specified by most SDKs. display The display mode in which to render the dialog. This is automatically specified by most SDKs.

redirect_uri

You might also like