What steps will reproduce the problem?
1.Login with facebook on a real mobile device (works fine on emulator) using
the following steps :
push the facebook login button
the facebook login pop-up appears
User types username and password, hits login button.
2.the login callback contains a fail object stating:
Error #2032: Stream Error. URL:
https://graph.facebook.com/me?access%5Ftoken=AAAFA7Xkx1wwBAC7ZAQmrvHcZBwYv5ZBLcU
vZClaGSrpNzVXRA1HsgQShIOQCOqy2tGAHVHKTbwH8taTrS8XBtVSN4JxW6ZAH8Az5ldJiMiwZDZD
What is the expected output? What do you see instead?
The login callback should return a success object. Instead it returns a fail
object with the following eror:
What version of the product are you using? On what operating system?
I'm using GraphAPI_Mobile_1_8_1.swc. Issue is reproducible on my Samsung Galaxy
SIII Android 4.1.2
Please provide any additional information below.
Here is my code: (which executes after calling FacebookMobile.init)
FacebookMobile.login(loginCallback ,m_stage, m_appPermissions, facebookWebView)
private function loginCallback(success:Object, fail:Object):void
{
if (success) // On a real mobile device a fail Object is returned with the error described above. Works fine in Emulator (a success object is returned)
{
var session:FacebookSession = success as FacebookSession;
//save access token
PersistanceMechanism.instance.add(sAccessToken, session.accessToken);
//forward to success view
if (m_successView != null)
m_viewNavigator.pushView(m_successView);
return;
}
//failure
}
Original issue reported on code.google.com by wayandro...@gmail.com on 9 Mar 2013 at 9:21
Original issue reported on code.google.com by
wayandro...@gmail.com
on 9 Mar 2013 at 9:21