Hi, I'm trying to test the GraphAPI_Mobile_1_8_1 api but it doesn't seem to work.
I'm using flash cs5 with Air 3.5 for ios for testing
when i click on the button nothing happens and it returns double null.
Been figuring this for 2 days :(
I'm currently testing Movie on my desktop
I did try porting to ipad to test and it still the same.
Can someone here help me firgure this out thankyou
below is the code im trying to make it work
import flash.display.BitmapData;
import flash.display.MovieClip;
import flash.events.Event;
import com.facebook.graph.FacebookMobile;
import flash.geom.Rectangle;
import flash.media.StageWebView;
const APP_ID:String = "xxxxxxx";
var APP_ORIGIN:String = "xxxxxxxx";
var extendedPermissions:Array = ["publish_stream","user_website","user_status","user_about_me"];
login.addEventListener(MouseEvent.CLICK, alogin);
function alogin(e:MouseEvent):void {
FacebookMobile.init(APP_ID, handleInit);
FacebookMobile.login(handleLogin, stage, extendedPermissions, new StageWebView());
}
function handleInit(response:Object, fail:Object):void {
trace(response);
}
function handleLogin(response:Object, fail:Object):void {
trace(response);
}