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.
精彩评论