Facebook???
OK, I am still having many issues with the Facebook AS3 API. Is there anyone who is currently able to use the Mobile version of the API to logon and process Facebook Graph calls? I keep getting this cryptic html error returned, when trying to login: error on line 2 at column 212: EntityRef: expecting ';'
import com.facebook.graph.FacebookMobile;
var a:StageWebView = new StageWebView();
a.viewPort = new Rectangle(0,0,400,400);
FacebookMobile.init("195742627174657", initHandler);
function initHandler(result:Object, fail:Object):void
{
trace("initHandler",result, fail);
FacebookMobile.logout(logoutCallback);
}
function logoutCallback(res:Object):void
{
trace("logoutCallback",res);
FacebookMobile.login(loginCallback, this.stage, [], a);
}
function loginCallback(res:Object):void
{
trace("logincallback",res);
}
That's the simple code I am testing with. I init ok, then call logout, which comes back true. But I call login and get the entityRef error returned. Anyone? Really need to get this working...
