将 Facebook 应用程序添加到页面选项卡

发布于 2024-12-26 07:03:52 字数 333 浏览 3 评论 0原文

我已经用谷歌搜索了一遍,找到了 Facebook 上关于删除应用程序配置文件页面等的博客文章。我还发现您可以转到此链接:

https://www.facebook.com/dialog/pagetab?app_id=[ID NUMBER HERE]&display=popup&next=[URL OF YOUR DOMAIN]

问题是我在您的域的 URL 中放入什么。我无法将网站网址放入应用程序设置中,因为它不是网站应用程序,而是页面选项卡应用程序。我尝试了任何 URL 组合,它只是错误“URL 不属于应用程序”

对此有什么想法或经验吗?

I have googled and googled around for this and found the blog post from Facebook about remove app profile pages etc. I also found that you can go to this link:

https://www.facebook.com/dialog/pagetab?app_id=[ID NUMBER HERE]&display=popup&next=[URL OF YOUR DOMAIN]

The problem is what do i put in URL OF YOUR DOMAIN. I cant put a site url in the app settings because its not a web site application, its a page tab application. Any combo of URL's i try, it just errors with "URL not owned by application"

Any ideas or experiences with this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

清欢 2025-01-02 07:03:52

使用 JS-SDK 的 FB.ui 方法和 pagetab 方法,如 添加页面选项卡对话框文档 这将自动向对话框提供所需的信息。

FB.ui({method: 'pagetab'}, function(){
  // User either closed dialog or added tab, you can call Graph API to check...
});

Use FB.ui method of JS-SDK with method pagetab as shown in example of Add Page Tab Dialog documentation this will automatically provide needed info to dialog.

FB.ui({method: 'pagetab'}, function(){
  // User either closed dialog or added tab, you can call Graph API to check...
});
萌辣 2025-01-02 07:03:52

您必须先在 Facebook 注册 URL,然后才能使用。首先访问 http://developers.facebook.com。然后转到您的应用程序并点击[编辑应用程序]。在“基本信息”部分,您会发现一个文本框,要求您输入应用程序域。保存后就可以正常工作了。

我只是输入 www.my-domain.com,没有 http,没有斜杠。

You have to register the URL first with Facebook and then use it. First go to http://developers.facebook.com. Then go to your app and hit [Edit App]. At the Basic Info section, you'll find a textbox requesting you to enter the APP Domain. Once you save it will work fine.

I simply entered www.my-domain.com, no http, no slashes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文