Facebook 应用程序有没有办法检测用户何时不喜欢并取消发布?
我正在开发一个应用程序,如果用户喜欢并在我的应用程序上发布/推荐,则可以给予积分,有没有办法进行反作弊机制,因此如果用户喜欢&不像以后就不算了?
im developing a app that gives points if user do like and publish / recommend on my app, is there a way to do anti cheat mechnisem so if user like & unlike right after it will not count it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
要回答您的问题,您需要查看 FB.Event.subscribe< /a>,特别是 edge.remove 全局事件。然而,如果您要构建一个人们真正想要使用的应用程序,而不是在他们面前晃来晃去的积分胡萝卜,那么您可能根本不必担心作弊。
To answer your question, you want to look at FB.Event.subscribe, specifically the edge.remove global event. You might not have to worry about the cheating at all, however, if you were to build an app that people would genuinely want to use as opposed to having to dangle the points carrot in front of them.