限制将 Facebook 应用程序添加到 Peoples 页面的能力
我已经设置了一个 Facebook 应用程序,我需要阻止公众将其作为选项卡添加到他们的页面。
我能想到的唯一方法是设置一些逻辑来检查通过 FQL 加载的页面 ID 或同样针对已批准页面 ID 的子集。如果该页面的 ID 不在我们的批准列表中,我们会在添加到其页面的选项卡中显示“访问被拒绝”页面。虽然我相信这会起作用 - 每当有人批准需要将页面 ID 添加到他们的页面时,这将需要我们手动将页面 ID 添加到此列表中,这并不理想。
任何帮助或更好的想法将不胜感激!
干杯
I have set up a Facebook application that I need to prevent the general public from Adding to their pages as a tab.
The only way I can think of doing this is to set in place some logic that checks the page ID it's being loaded in to via FQL or likewise against a subset of Approved page IDs. If the ID of the page is not in our approved list, we display a "Access denied" page within the tab that is added to their page. While I believe this will work - it would require us to manually add a page ID to this list every time someone approved needs to add it to their page which isn't ideal.
Any help or better ideas would be much appreciated!
Cheers
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编辑:重读你的帖子,意识到我误解了你的意思。
我认为解决您所追求的问题的最佳方法是像您所描述的那样建立白名单,尽管您可以采取一些步骤来减少意外找到该应用程序的人数,例如在应用程序设置中禁用社交发现和将所有活动限制在该选项卡内。除此之外,您无法真正对其进行沙箱处理,因为您希望公众能够从您批准的页面使用该应用程序,因此白名单是最好的方法。
11 月份已弃用向用户个人资料添加标签的功能:
因此,您不必担心任何用户向其个人资料添加选项卡,因为此功能已不再存在。
Edit: reread your post, realized I misunderstood what you meant.
I think the best way to go about what you're after is a whitelist like you describe, although there are some steps you can take to reduce the number of people who find the application by accident, like disabling social discovery in the application settings and keeping all activity confined to that tab. Apart from that, you can't really sandbox it since you want the general public to be able to consume the app from your approved pages, so the whitelist is the best way to go.
The ability to add tabs to user profiles was deprecated in November:
Thus, you shouldn't have to worry about any users adding tabs to their profiles, as this functionality no longer exists.