regarding php comment box

时光总嘲笑我的痴心妄想 提交于 2019-12-25 16:40:59

问题


hi im a beginner for php...currently am developing face book comment box on my site.. i created comment box succesfully...if i login in this sense it will go through facebook.com.login.php.. but i need that login go through my wesite page instant of facebook.com... is there any code for it...

any one can tell me the answer plz.... im little confuse about it...


回答1:


Have you tried using the Facebook code generator to give you your comment box? http://developers.facebook.com/docs/reference/plugins/comments.

This should generate all the code you need and use a pop up box for logging in to Facebook.




回答2:


fb:comments should allow anonymous comments. You need to initialize the Javascript SDK before using it.

Read more here: http://developers.facebook.com/docs/reference/plugins/comments

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=APP_ID&amp;xfbml=1"></script><fb:comments numposts="10" width="425" publish_feed="true"></fb:comments>

Hope it helps



来源:https://stackoverflow.com/questions/4407567/regarding-php-comment-box

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