Having trouble with this. I want to upload a bitmap I have in my flash app to Facebook. Anyone had any luck with this?
I can do a URL, but dont know how to send a bitmap. Cant find any good information on the web.
var myBitmapDataObject:BitmapData = new BitmapData(150, 150, false, 0xFF0000);
var myImage:Bitmap = new Bitmap(myBitmapDataObject);
addChild(myImage)
//Doesnt work
FB.api("/me/photos", function():void {}, {message:"Test!",source:myImage, fileName:'FILE'}, URLRequestMethod.POST);
//This does work
FB.api("/me/photos", function():void {}, {message:"Test!",url:"http://laughingsquid.com/wp-content/uploads/nyan.jpg", fileName:'FILE.bmp'}, URLRequestMethod.POST);