开发者

Facebook Connect login-button doesn't appear when logged into Facebook

开发者 https://www.devze.com 2023-04-12 12:08 出处:网络
I\'m using Facebook Connect\'s login-button on my website: <fb:login-button length=\"long\" background=\"light\" perms=\"email\" size=\"medium\" onlogin=\"loginWithFacebookConnect()\"></fb:l

I'm using Facebook Connect's login-button on my website:

<fb:login-button length="long" background="light" perms="email" size="medium" onlogin="loginWithFacebookConnect()"></fb:login-button>

Problem is that the login button only appears when the visitor is logged out开发者_开发百科 of Facebook! That's clearly a major problem because many visitors are logged into Facebook when they visit my site... what am I doing wrong?

UPDATE: Looks like Facebook slightly changed how to implement a Facebook Connect login button. Now text within the tags is required, otherwise the button won't appear if logged into Facebook. Strange issue and I have to imagine this affects a ton of websites. I'm still verifying this, but looks like the issue is solved. If anyone has any extra insight into this, would love to hear it.


The <fb:login-button> element simply needs text within it.

0

精彩评论

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

关注公众号