How can I use the Facebook Javascript API to automatically make a user like a page?

你。 提交于 2019-12-02 18:37:47

问题


I was reading through the docs and I guess I can do this if the user gives me "publish_stream" permissions.

Is there a Facebook Javascript API that makes the user like a page? Just as if they had clicked on a Like button.


回答1:


It's not possible to like web pages, or Facebook pages through any API, except for very few approved apps.

You'll need to use a like button.



来源:https://stackoverflow.com/questions/9983296/how-can-i-use-the-facebook-javascript-api-to-automatically-make-a-user-like-a-pa

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!