kennylerma / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

Logout doesn't switch users on FacebookMobile #307

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login using FacebookMobile.login(callback, webView, []);
2. Logout using FacebookMobile.logout();
3. Login again, trying to use a different username

What is the expected output? What do you see instead?

There are a few topics dealing with this issue, but using the FacebookDesktop 
version of AIR. I am using FacebookMobile, specifically the logout function. 
I'd like for a user to be able to switch accounts if desired (essentially the 
"not you?" button on the Facebook page). However, when a user logs out, then 
logs back in, all of the information from the first login is still there. Any 
way to completely clear all of the info from the first login?

What version of the product are you using? On what operating system?

Graph API 1.6, Windows 7

Please provide any additional information below.

Trying to create a mobile AIR for Android app using AS3 and Flash. Everything 
works expected, except for this minor detail. Basically, a user cannot switch 
accounts if multiple people want to use the application on the same mobile 
device.

Original issue reported on code.google.com by zubaw...@gmail.com on 23 May 2011 at 6:07

GoogleCodeExporter commented 9 years ago
Already reported here 
http://code.google.com/p/facebook-actionscript-api/issues/detail?id=297&sort=-id

Original comment by Bry...@gmail.com on 26 May 2011 at 1:35

GoogleCodeExporter commented 9 years ago
These two links shed some light on the issue. 

http://forum.developers.facebook.net/viewtopic.php?pid=347350

http://bugs.developers.facebook.net/show_bug.cgi?id=17217

The mobile sdk also relies on this solution to logout, so it is affected by 
this change. There seems to be a workaround posted in the comments of the 
second link, and this will be included in the next update if this bug goes 
unresolved. In the meanwhile, the workaround can be applied to the 
FacebookMobile.as logout() method. 

Original comment by edwar...@gmail.com on 30 May 2011 at 5:24