AS3图形API退出 [英] As3 Graph API Logout

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

问题描述

我开发了将通过不同的用户播放一个应用程序,但我使用AS3的图形API用户进行身份验证,并张贴在墙上,我需要注销每个用户,之前下一个用户开始他的会话在AS3图形API: HTTP://$c$c.google.com/p/facebook- ActionScript的API /

我搜到强制FB,要求登录的信息,但注销后,当重新登录,API跳过这个步骤,登录,在最后一个用户会话。<​​/ P>

解决方案

这是一个已经不断被FacebookMobile,Facebook和FacebookDesktop修订的问题。基本上,你需要确保你设置FacebookDesktop.manageSession = FALSE;并通过在网站的API URL的退出的第二个参数。 如果还是不行,其他的方法是使用reallyLogout,如在此线程的详述此处

在评论#24详细世博会的访问令牌从FacebooMobile(或者任何你正在使用单)的方式,以及该票据,然后手动调用Facebook上的logout.php方法,与访问令牌。

的http:// code.google.com / P / Facebook的动作-API /问题/详细信息?ID = 297#C24

i'm developing an application that'll be played by different's users, but i'm using the as3 graph api for authenticating users and posting on their wall, and i need to logout each user, before next user start his session on as3 graph api: http://code.google.com/p/facebook-actionscript-api/

I search to force FB to ask for login's info but after a logout when login again, API skip the step and log, on the last user session.

解决方案

This is an issue that's been continuously revised by FacebookMobile, Facebook, and FacebookDesktop. Basically, you'll need to make sure you set FacebookDesktop.manageSession = false; and pass in the 2nd argument of "logout" your site's api url. If that doesn't work, the other method is to use "reallyLogout", as detailed here in this thread.

The notes in comment #24 detail the way to expos the Access Token from FacebooMobile (or whichever singleton you're using), and then manually calling the logout.php method on Facebook, with the access token.

http://code.google.com/p/facebook-actionscript-api/issues/detail?id=297#c24

这篇关于AS3图形API退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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