Facebook退出按钮不显示 [英] Facebook Logout button not showing

查看:135
本文介绍了Facebook退出按钮不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的一个网站上使用Facebook的Javascript API,并使用以下代码显示登录按钮:

  div class ='connect_fb'> 
< fb:login-button autologoutlink =trueperms =email,user_birthday,status_update,publish_stream>< / fb:login-button>
< / div>

它工作正常,直到今天。但现在我已经观察到一些变化。


  1. 与旧版本相比,登录按钮变小了。


  2. 正在显示的登录框是不同的。


  3. 使用Facebook登录后,没有注销选项。


  4. 注销后立即再次显示登录按钮,Facebook会话仍然存在。直到今天,它将从Facebook系统注销用户,并显示登录按钮。


任何人遇到这样的问题?是否有可能使用XFBML已被弃用..?



您可以在我的网站上看到问题。



http://bit.ly/H1hAZE

解决方案

As我记得他们不赞成使用xFBML标签进行登录退出,看看这里



https ://developers.facebook.com/docs/reference/javascript/


I am using Facebook Javascript API on one of my websites and is displaying login button using the following code :

<div class = 'connect_fb'>
        <fb:login-button autologoutlink="true" perms="email,user_birthday,status_update,publish_stream"></fb:login-button>
 </div>

It was working fine until today. But now I have observed some changes.

  1. The login button became small as compared to the older one.

  2. The login box it is showing is different.

  3. There is no logout option after logging in using Facebook.

  4. Immediately after logged out, it is not showing the login button again and the Facebook session still exist. Until today , it will logout the user from Facebook System and login button is showed up.

Anyone is experiencing such an issue..? Is there any possibility that the XFBML I have used has been deprecated ..?

You can see the issue here in my website.

http://bit.ly/H1hAZE

解决方案

As far i can remember they deprecated the xFBML tag for login & logout , have a look here

https://developers.facebook.com/docs/reference/javascript/

这篇关于Facebook退出按钮不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆