喜欢 Open Graph 的操作
过去,Facebook API 不允许创建点赞。
现在,开放图具有某种使操作、对象通用的功能。可以与开放图 API 一起使用;喜欢我的应用程序中的某个对象。
如果没有,我可以创建自己的“点赞”操作以在我的应用程序中使用吗?
In the past creating likes was not allowed with the Facebook API.
Now that open graph has sort of make actions, objects generic. Can like be used with the open graph API; to like an object within my application.
If not, can I create my own "Like" action to be used within my application?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据我的理解,您不能使用 Open Graph API 来喜欢一个对象,因为您只能喜欢一个对象实例,而不是对象本身。
也就是说,我发现了如何通过一个简单的请求来喜欢一个对象实例(您只需要知道对象实例 ID):
In my understanding, you cannot use the Open Graph API to like an object, because you can only like an object instance, not an object itself.
That said, I found how to like an object instance with a simple request (you just need to know the object instance id) :
这个问题现在看来是多余的。 Like 现在是一个内置的开放图操作,您可以将其添加到您的应用程序中。
This question is rather redundant now. Like is now a built in open graph action that you can add to your application.