问题描述
如我的帖子中所述 在 IT Security Stack Exchange 上,我是一个页面的管理员,该页面最近有许多未知(不受欢迎)的赞.
As detailed in the my post on IT Security Stack Exchange, I am the administrator for a page with a many recent unknown (an undesired) likes.
有人建议我学习 Facebook API 并编写一个算法来根据阈值自动删除喜欢(例如:如果用户最近喜欢的数量可疑,则删除喜欢).
It was suggested to me to learn the Facebook API and write an algorithm to remove likes automatically, based on thresholds (ex.: remove a like if the user has a suspicious amount recent likes).
我知道有许多其他帖子讨论了检索 Facebook 页面的点赞数问题,但找不到任何讨论以页面管理员身份删除点赞的帖子.
I'm aware of the many other posts discussing issues with retrieving the like count for a Facebook page, but was unable to find any posts discussing removing likes as the page admin.
这有可能实现吗?如果是这样,这将如何完成?
Is this possible to achieve? If so, how would this be done?
推荐答案
尝试使用块方法.
PAGE_ID/blocked?uid=USER_ID_YOU_WANT_TO_BLOCK
这应该与删除类似内容相同.我不确定取消阻止用户是否会重置喜欢(在 Twitter 上有效),因此您也可以在同一个调用中使用 HTTP DELETE
进行查看.
This should do the same as removing the like. I am not sure whether unblocking the user resets the like or not (works on Twitter) so you can look into that as well with a HTTP DELETE
on the same call.
据我所知,没有办法从页面中明确删除一个赞.
As far as I know there is no way to explicitly remove a like from a page.
有关更多信息,请参阅http://developers.facebook.com/docs/reference/api/page/#blocked
这篇关于使用 Facebook API 自动删除 Facebook 页面喜欢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!