我读过:
1) Doing like to external url
The og.likes action can refer to any open graph object or URL, except for Facebook Pages or Photos.
from SOF: you can only like Open Graph objects (URLs outside of Facebook) with this, not Facebook pages.
2) doing like to fb page
Publishing
...it is not possible to like a Facebook Page via any API. You should use the Like Button if you want people to be able to like a page in your app.
服务器在运行时向客户端返回一些FB帖子网址。
因此,如果我想在FB页面中为帖子创建“赞”,我只需要使用like按钮吗?
答案 0 :(得分:0)
你不能喜欢facebook sdk的FB页面,你必须点击按钮用你的fb页面网址调用浏览器。
答案 1 :(得分:0)
你必须使用FB api来使用类似的功能。您可以自定义类似按钮,如更改图片等详细信息,我建议您阅读 https://developers.facebook.com/
中的API手册