如何链接 Facebook 应用程序与现有的粉丝页面

既然 Facebook 已经有了 对应用程序的登陆页面进行折旧,我如何让我的应用程序指向它的着陆页的 Fan 页面?

我已经在 Advanced 选项卡和联系人下面进行了检查——但是没有任何地方可以将 Fan 页面链接到我的应用程序。

根据 这篇12月的博文的说法,新的应用程序可以创建一个新的 Fan 页面,但是没有关于如何为现有页面创建新的 Fan 页面的信息——他们只是说“它将被自动链接”不幸的是,它不是——当你从我们的应用程序发布一些东西到你的墙上,链接带你到我们的网站,而不是我们的扇页。

我很希望那个链接能带你再次进入我们的粉丝页面,但我似乎找不到任何关于这方面的文档。

83791 次浏览

Here's how to add a tab to a page.

https://developers.facebook.com/docs/reference/dialogs/add_to_page/

I use the direct URL Method. Go to your page and then type the following into the address bar of your browser.

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

Where YOUR_APP_ID is the app id shown in the app configuration page, and YOUR_URL is the page you want to to be redirected to once you close the dialog.

In the Facebook app config settings will be Site URL. This is the place where it's currently going, correct? So have your marketing people make a "pretty" landing page for the app, and you can change your app settings to point to the pretty landing page. Maybe all that landing page is a redirect to your Facebook fan page.

It is possible. I had the same problem. What you need to do is the following:

  1. Categorize your existing page under "App Page" (found under "Brands & Products").
  2. Change your page name to mach your App name.
  3. Go to your App and select "App Details"
  4. Under "Contact Info" you will find "App Page". There you will be able to create a new page or if all went well, select your page from a list.

I found the info in the little question-mark next to "App page".

I hope this helps.

It is possible to add the application to any page you administer. This can be achieved from solutions mentioned below:

Solution 1

http://facebook.com/add.php?api_key=[YOUR_APP_KEY]&pages=1&page=[YOUR_PAGE_ID]

YOUR_APP_KEY You can get it from application settings, its App Id

YOUR_PAGE_ID You can get it through Graph Explorer https://graph.facebook.com/[PAGE_NAME]

Solution 2

https://www.facebook.com/dialog/pagetab?app_id=[YOUR_APP_KEY]&next=[REDIRECT_URL]

YOUR_APP_KEY You can get it from application settings, its App Id

REDIRECT_URL Any URL you want to redirect back to after adding the tab

Official Solution
Answer from @Dvir Levy is the official solution from Facebook. The issue with that approach is that we mostly can not follow that solution. Suppose we had to add an application tab to a brand page like 'ABCXYZ', if we follow that answer then we had to change the brand page name, and we can't do it, brands/clients we work for doesn't allow these changes.

Happned to me. You need to add yourself (your developer account) as manager/admin of the page. Then it will recognize the link between you and the page and the app will show the app page so you'll be able to choose it.

This is possible.

Go to you business page, add yourself as a managed (make sure you have liked the site first)

Then refresh the App Details developers page. Select the business app page from the App page contact section.

Note the Business page has to be the Brands & Products : App Page, and the same name as the App.

Due the recent changes on the Facebook UI, some options have changed or are under a different place.

I would like to share the up to date way to achieve this.

On your page

  1. Access the About section
  2. Click on Edit Page Info on the top right side.
  3. Set one of your categories to App page

PS: May be needed your page and app share the same name, but can't confirm this.

On your app

Access your app from the Facebook Developers apps panel.

  1. Access Settings on the left side menu.
  2. Set the category to Apps for pages and hit Save. [@JohnMc mentioned this has to be the only category selected.]
  3. Open the Advanced section and find the App Page block.
  4. Under Existing page select your page and hit Save.

All set!

Note: If you remove the link between the page and the app you won't be able to link them again.

Edit: As @John Mc pointed out in the comments, App page has to be the only category selected.