Facebook like button for a facebook status

送分小仙女□ 提交于 2020-01-02 09:56:38

问题


I've pulled some facebook statusses to my website and I would like to add a like-button to them. I can't seem to use the facebook like button generator. When trowing a url like this: http://www.facebook.com/permalink.php?story_fbid=268577716517595&id=224519707563955 in the facebook url linter tool it sais it can't crawl itself.

Is there a way to fix this like-button? A way of custom coding a facebook like button? or is the only solution to redirect to this url?(Not an great option, i want the user to stay on my website)

I hope anybody has a solution for this.


回答1:


You can perform an like of an object through the Graph API, but then the user have to authenticate your application.

See more under the like section here.



来源:https://stackoverflow.com/questions/8293718/facebook-like-button-for-a-facebook-status

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