选择喜欢我的页面 (Facebook) 的用户
通过 Facebook 的 API,我如何从喜欢我的页面的用户列表中随机挑选一个用户参加比赛?我希望我的程序能够选择它,而不是我随机滚动 FB 上用户的页面。
另外,如果我想给第 500 个人点赞该页面的话,我该怎么做呢?
我无法在他们的文档中找到答案。谢谢!
编辑:我在这里和其他地方看到的答案都说这是不可能完成的。然而,公司却一直在进行这样的促销活动。他们正在做什么呢?
Through Facebook's API, How do I randomly pick a user from the list of users who liked my page for a contest? I want my program to pick it, not me randomly scroll through pages of the users on FB.
In addition, if I want to give something to say the 500th person to like the page, how can I do that?
I've been unable to find my answer in their documentation. Thanks!
Edit: I've seen answers here and elsewhere that say it can't be done. Yet companies run promotions like this all the time. What are they doing to do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 Facebook 本机功能(例如点赞或墙贴)在页面上举办竞赛是违反政策的,而且没有 API 可以获取点赞者列表。
解决方法是大多数页面(肯定是几乎所有大品牌)所做的就是在选项卡上安装一个自定义应用程序,并让该选项卡上的应用程序接受并处理竞赛条目 - 在这种情况下,所有条目都在您的自己的数据库,你可以随意选择一个
It's against policy to run a competition on a page using Facebook native functionality (such as likes or wall posts) and there's no API to get the list of Likers back.
The workaround, and this is what most pages (and definitely almost all large brands) do is have a custom app installed on a tab and have the app on that tab accept and process the competition entries - in that case all the entries are in your own database and you can just choose one at random
Facebook API 不会告诉您谁喜欢某个页面,因此这是不可能的。
Facebook API won't tell you who likes a page so this won't be possible.