how to auto share link to facebook

你说的曾经没有我的故事 提交于 2019-12-08 13:57:50

问题


I have a link http://news.bamlike.com/index.php. When i click on link to view article.

if you has loged in facebook and accecpt with some permission in this apps. It'll auto share that link on facebook timeline (Activity Recent) .It's like you're just click like it.

demo image: http://tapchidesign.hostoi.com/help2.jpg

How can i do it ? Thanks you very much !


回答1:


On each page load, check if the logged in user has authenticated your app. If they have, publish an open graph built-in "read" action. Read the documentation about built-in actions



来源:https://stackoverflow.com/questions/14072506/how-to-auto-share-link-to-facebook

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