开发者

Facebook Login Button Not Clickable

I am tinkering with the Facebook Login button and while it was easy to put that button on the page, when I click it, it does nothing. Has anyone had that experience?

I had this code:

<div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#appId=myRealId&amp;xfbml=1">
</script><fb:login-button show-faces="false" width="200" max-rows="1"></fb:login-button>

Did I need to do so开发者_JS百科mething extra?

You can see the button being rendered here: http://www.comehike.com

But when you click it, it does nothing. :(


The JavaScript Console shows me the following message:

FB.login() called before calling FB.init().

So you should probably call FB.init() after the button has been loaded.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜