How to add tab application to a page with the “new auth dialog”

后端 未结 4 1289
遇见更好的自我
遇见更好的自我 2020-12-07 17:57

I created an app today, as i\'ve done several times before. But when i wanted to add the app to a a page i couldn\'t find the link \"view this apps profile page\", which I n

相关标签:
4条回答
  • 2020-12-07 18:34

    YOU SHOULD CHOOSE "ADD PAGE TAB" in "ADD PLATFORM" DIALOG!!

    1) Enter https://developers.facebook.com/apps/ and choose (or create) desired app.

    2) do this from settings:

    3) then enter:

    - https://facebook.com/dialog/pagetab?app_id=APP_ID&redirect_url=https://yoursite.com
    or
    - http://facebook.com/add.php?api_key=APP_KEY&pages=1&page=PAGE_ID

    0 讨论(0)
  • 2020-12-07 18:37

    I have found this to work the best:

    http://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=http://www.facebook.com
    
    0 讨论(0)
  • 2020-12-07 18:45

    Tried all of above. The only one that worked for me was this one:

    https://www.facebook.com/add.php?api_key=YOUR_API_KEY&pages=1
    
    0 讨论(0)
  • 2020-12-07 18:48

    You can do it in several ways:

    • Using Add Page Tab Dialog as described in documentation:
      • With JavaScript not even leaving page where this get called FB.ui({method: 'pagetab'});
      • By redirecting to https://facebook.com/dialog/pagetab?app_id=APP_ID&redirect_url=URL
    • Via link http://facebook.com/add.php?api_key=APP_KEY&pages=1&page=PAGE_ID
    • From Application Profile page (you can easily get to it via http://www.facebook.com/apps/application.php?id=APP_ID or via shorthand http://facebook.com/APP_ID or by clicking on Application Name in the left bottom corned of every page while visiting Application Canvas) (note that newly created apps don't have an Application Profile page - as discussed on the Developer Blog )
    • Using the API directly with a manage_pages access token - details in the Page documentation.
    0 讨论(0)
提交回复
热议问题