应用程序的访问者是 Facebook 页面

发布于 2024-12-04 13:07:46 字数 101 浏览 4 评论 0原文

您能否确定 Facebook 应用程序的访问者是否是作为 Facebook 粉丝页面浏览 Facebook 的用户?这样我就可以向 Facebook 粉丝页面显示与常规用户帐户不同的消息。

Can you determine whether a visitor to your Facebook application is a user navigating Facebook as a Facebook Fan Page? This is so I can show a different message to a Facebook Fan Page in comparison to a regular user account.

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

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

发布评论

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

评论(1

我也只是我 2024-12-11 13:07:46

不……至少不是从签名的请求中得到的。您可以使用“页面帐户”浏览到选项卡应用程序,即使您将页面“喜欢”为您的页面,签名的请求也会返回,而不会包含“user_id”参数。
在画布应用程序上,您会收到如下消息:

在此处输入图像描述

该消息非常不言自明。

Nope... at least not from the signed request. You can browse to a tab application with a "page account" and there, even once you have "liked" the page as your page the signed request comes back without the "user_id" parameter.
On a canvas app you get a message like this :

enter image description here

That message is pretty self explanatory.

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