Question
ahh! stuck again :(
so thanks to the kind help of "kennethkawamoto" He helped me with setting up the facebook API with AS3, i thought i could then put the data into text fields, which i tried to do but failed. So what im asking from someone who knows how to do this is to show me....
This is the facebook API -
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import com.adobe.serialization.json.JSON;
var loader:URLLoader = new URLLoader(new URLRequest("https://graph.facebook.com/XXX/feed?access_token=XXX"));
loader.addEventListener(Event.COMPLETE, loadComplete);
function loadComplete(e:Event):void {
processData(e.target.data);
}
function processData(data:String):void {
var facebookFeed:Array = JSON.decode(data).data as Array;
for(var i:uint, feedCount:uint = facebookFeed.length; i < feedCount; i++){
trace(facebookFeed.message);
}
}
Iys working as it is traced into the output window!