I have tested that it never gets the session after login and does not fire fail or success when the stagewebview's Login button is pressed(facebook api website)
Anyone got a fix for this? It is only not working on the newer versions of android (4.2.2),
public function init():void
{
FacebookMobile.init(FbAppID,onLogin,LoadPersistenceData("FbSessionKey"));
}
protected function onLogin(success:Object, fail:Object):void{
if(success){
lblhest.text = "succes";
SavePersistenceData("FbSessionKey",success.accessToken);
navigator.pushView(views.RandomView);
}else if(fail)
{
var facebookWebView:StageWebView = new StageWebView();
facebookWebView.viewPort = new Rectangle(0,0,this.stage.width,this.stage.height);
FacebookMobile.login(onLogin, this.stage,["email","read_stream","publish_stream"], facebookWebView);
lblhest.text = "fail";
}
}
So the stageview does not fire success when the stagewebview is finished (logged in pressed OK to the FB app premissions) - it just sits there as a white overlay, never triggering the succes after you Press the facebook Login button and finished with the login dialog where it should trigger the success. Any fix for this?