As3 Graph API 注销 [英] As3 Graph API Logout

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

问题描述

我正在开发一个由不同用户播放的应用程序,但我使用 as3 图形 API 来验证用户并在他们的墙上张贴,我需要在下一个用户开始他的会话之前注销每个用户在 as3 图形 API 上:http://code.google.com/p/facebook-actionscript-api/

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/

我搜索强制 FB 询问登录信息,但在再次登录时注销后,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.

推荐答案

这是 FacebookMobile、Facebook 和 FacebookDesktop 不断修订的问题.基本上,您需要确保设置 FacebookDesktop.manageSession = false;并传入注销"站点的 api url 的第二个参数.如果这不起作用,另一种方法是使用reallyLogout",详见本主题.

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.

注释 #24 中的注释详细说明了从 FacebooMobile(或您使用的任何单例)公开访问令牌的方法,然后使用访问令牌在 Facebook 上手动调用 logout.php 方法.

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 Graph API 注销的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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