Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You should not use <code>https://www.facebook.com/add.php?api_key=XXX</code> for any cases other addition of application to page as a tab (and even this is undocumented).</p> <p>If you're using PHP-SDK you should use <a href="http://developers.facebook.com/docs/reference/php/facebook-getLoginUrl/" rel="nofollow"><code>Facebook::getLoginUrl</code></a> to log user in, which support <code>redirect_uri</code> parameter so you can add client id as argument to this URL</p> <p><strong>Update:</strong>. As it turns question is about adding application tab to page you should be using <a href="http://developers.facebook.com/docs/reference/dialogs/add_to_page/" rel="nofollow">Add Page Tab Dialog</a> to provide user with a way of "installing" application to page without leaving your app.</p> <p>You can refer to answers on <a href="http://facebook.stackoverflow.com/questions/8596217/how-to-add-tab-application-to-a-page-with-the-new-auth-dialog">How to add tab application to a page with the "new auth dialog"</a> for more info.</p> <p><strong>Update 2:</strong><br> How to reach applications running as Page Tab described in <em>"Integration with Facebook APIs"</em> section of <a href="http://developers.facebook.com/docs/appsonfacebook/pagetabs/" rel="nofollow">Page Tab Tutorial</a>: </p> <blockquote> <p>your application will also receive a string parameter called <code>app_data</code> as part of <code>signed_request</code> if an <code>app_data</code> 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: <code>http://www.facebook.com/YourPage?v=app_1234567890&amp;app_data=any_string_here</code>. You can use that to customize the content you render if you control the generation of the link.</p> </blockquote> <p>You not required to add <code>app_data</code>, just use <code>v=app_APPID</code> to link to your page tabs (Facebook itself using <code>sk</code> instead of <code>v</code>, both works).</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload