简体   繁体   English

如何获得点击按钮的用户的Facebook ID?

[英]How can I get user's facebook ID who clicked like button?

Is there a way to get the user's facebook ID who has clicked like button of the social plugin on my own website? 有没有办法让用户的脸书ID在我自己的网站上点击了社交插件的按钮? I couldn't find any way to make it even though I spent for searching it whole day... 即使我花了整整一天的时间来搜索它,我找不到任何方法来制作它...

As far as I know it's impossible for you to know who clicked a 'like' button, however if a user logs in to facebook through your site (meaning that you wrote some facebook app which retrieves the info) than you can access the information. 据我所知,您无法知道是谁点击了“喜欢”按钮,但是如果用户通过您的网站登录到Facebook(意味着您编写了一些检索信息的Facebook应用程序),那么您可以访问该信息。

try reading the documentation in api.facebook.com, good luck. 尝试阅读api.facebook.com中的文档,祝你好运。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Facebook点赞按钮-如何获得“点赞”某事物的朋友数量 - Facebook Like button - how to get the number of friends who 'liked' something 使用 Facebook 登录按钮获取用户的 Facebook 电子邮件 ID - Get user's Facebook email id with facebook login button 如何在Facebook PHP sdk中获取用户ID? - How can I get the user ID in the Facebook PHP sdk? 如何获取Facebook页面的管理员用户ID? - How can i get the admins user id of a page in facebook.? 如何通过facebook社交插件获取已注册我网站的用户的个人资料图片 - How can i get the profile picture of a user who have registered my website via the facebook social plugin 如何获得Facebook用户的ID? - How to get a Facebook user's ID? 检查用户是否点击了Facebook赞按钮(多个按钮) - Checks if the User clicked the Facebook Like Button (Multiple Button) PHP:如何根据网格视图中单击的按钮的行ID在模式框中显示数据? - PHP: How do I can show data in modal box based on clicked button's row id in gridview? 如何让用户朋友知道谁也喜欢Facebook页面? - How could get user friends count who also like a facebook page? 如何获取使用jQuery单击的提交按钮的自定义ID? - How can I get the custom id of the submit button clicked using jQuery?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM