图形 API 的问题
这是我在这里发表的第一篇文章,所以请原谅我愚蠢的提问或描述我的问题而不是“程序员的方式”。 :-)
我已将 Facebook 评论添加到我的 Wordpress 博客中。现在,我用另一个 Facebook 个人资料发布了一条测试评论,而不是我用来创建应用程序的个人资料。
瞧,该评论出现在该网站的 Graph API 上。效果很好。
我删除了该评论,但它似乎在该网站的 Graph API 中仍然可见。
删除的评论有缓存吗?我该如何解决这个问题?
这对我来说很重要,因为我想到了一场比赛。用户必须通过 Facebook 评论框为图片添加标题。
如果已删除的评论仍保留在 Graph API 中,它不会给我带来任何好处。
有什么解决办法吗?你还需要知道我在说什么吗? :-)
干杯,
阿克塞尔
This is my first post here, so forgive me for stupid questioning or describing my problem not „the programmer's way“. :-)
I've added Facebook comments to my Wordpress blog. Now, I posted a test comment with another Facebook profile than the one I used to create the app.
Voila, the comment appeared on the Graph API of that site. Worked well.
I deleted the comment, but it seems as it's still visible in the Graph API of the site.
Is there any cache for deleted comments!? How can I fix that?
It's important for me to know, because I think of a contest. Users have to add captions to pictures via the Facebook commentbox.
It doesn't give me any benefit, if comments that have been deleted will remain in the Graph API.
Any solution for it? What else do you need to know what I'm talking about? :-)
Cheers,
Axel
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法删除评论,这有点糟糕。您所能做的就是向其他用户隐藏它。作为发布“已删除”评论的用户的朋友的每个 Facebook 用户都可以看到该评论以及用户本人(在实际的 Facebook 评论框中)。
此外,它将永远存在于图形 API 中!这就是 Facebook 推动言论自由的方式!
无论如何,如果你删除内容,这对人们来说听起来不是一场公平的竞争,因为他们可能会感到反对,而且并不是每个人都会有同样的机会。一个可以正确批准“评论/标题”的系统会更有意义。例如,请参见 Diskus。
如果您希望 Facebook 评论社交广告得到提升,您可以将图形 api 中的所有评论写入数据库,然后手动批准它们。另一种方法是告诉用户订阅/点赞您的 Facebook 页面,看看谁获胜或能够获胜。祝你好运
You can't delete comments, that's a bit bad documented. All you can do is hide it from other users. Every fb user that is a friend of the user that posted that 'deleted' comment can see the comment as well as the user himself too (in the actual fb comments box).
Furthermore it will exist forever in the graph api! That's facebooks way of pushing freedom of expression!
Anyway if you delete content it doesn't sound like a fair contest to people, as they might feel objected, also not everyone will have the same chances then. A system where you can properly approve 'comments/captiions' would make way more sense. See Diskus for example.
If you wanna have the facebook comments social advertising boost though you could write all comments from the graph api into a database and then approve them manually. Another way would be just to tell users to subscribe/like your facebook page to see who's winning or to be able to win at all. Good luck