未经“应用程序许可”获取访问者的 Facebook 信息-- Yelp 是如何做到的?
好的。我花了几个小时仔细研究有关 xFBML、Open Graph 等的分散的 FB 文档——其中大部分似乎已被弃用。
无论如何,当访问者访问我的网站(假设他们已经登录 FB)时,我试图获取他们的 Facebook 用户 ID(或姓名、图片或其他任何内容),而无需他们“连接”并授予我的网站权限。
看来我还是不能。我本来想放弃,但后来我看到了 Yelp。我没有 Yelp 帐户,也从未授予他们使用我 FB 帐户的权限。但是...如果我登录 Facebook,然后访问 Yelp,他们仍然可以在顶部发布我的 FB 照片,他们知道我的 FB 名称,甚至可以向我显示我的哪些朋友在 Yelp 上。
那么,Yelp 是否与 Facebook 达成了某种协议,可以在未经我许可的情况下获取该信息?
或者你真的能获取一些“未连接”访客的 FB 信息吗?
Okay. I've spent hours poring over the scattered FB documentation concerning xFBML, Open Graph, etc. -- most of it deprecated it seems.
Anyways, I'm trying to get a visitor's Facebook userid (or name or pic or anything) when they visit my site (assuming they are logged into FB already) without them having to "connect" and give my website permission.
It seems that I cannot though. I would just give up, but then I see Yelp. I don't have a Yelp account and I've never given them permission to my FB account. But...if I'm logged into Facebook, and I go to Yelp, they are still able to post my FB photo at the top, they know my FB name, and they're even able to show me which of my friends are on Yelp.
So, does Yelp have some deal with Facebook to get that info without me giving permission?
Or can you really grab some FB info on your "unconnected" visitor?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一项名为“即时个性化”的功能,并且专供部分 Facebook 合作伙伴使用。
来自 Facebook 常见问题解答:
因此,不,除非您是试点计划的参与者,否则您无法在未经用户许可的情况下自行获取该信息。
It's a feature called "Instant Personalization", and it's exclusive to a select number of Facebook partners.
From the Facebook FAQ:
So, no, you can't get that information yourself without asking permission from the user, unless you're a participant in the pilot program.