kennylerma / facebook-actionscript-api

Automatically exported from code.google.com/p/facebook-actionscript-api
0 stars 0 forks source link

BitmapData upload not work! #318

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
BitmapData upload (post) not work

FaceDesktop Method :
/// img is BitmapData
var values:Object = {message:'My photo caption', 
fileName:'FILE_NAME',image:img};
FacebookDesktop.api('/me/photos', handleUploadComplete, values,'POST');

web method :
Facebook.api('photos', handleUploadComplete, values, 'POST');

handle response result is work but can't post to my wall 

Original issue reported on code.google.com by dosyaoz...@gmail.com on 17 Jun 2011 at 2:56

GoogleCodeExporter commented 9 years ago
What success and fail objects are you getting back in your handleUploadComplete 
method?

Original comment by rovertn...@gmail.com on 21 Jun 2011 at 3:17

GoogleCodeExporter commented 9 years ago
It doesn't work for me either. in the handleUploadComplete I get a response 
object with property id: 10150235950999105 and an empty fail object so 
everything seems fine but the images are nowhere to be seen on my facebook 
account.

Original comment by da...@louter.info on 23 Jun 2011 at 9:15

GoogleCodeExporter commented 9 years ago
upload image not work! 

Original comment by dosyaoz...@gmail.com on 23 Jun 2011 at 9:46

GoogleCodeExporter commented 9 years ago
Got it to work. I added extendedPermissions to the login function.

protected function login():void {
FacebookDesktop.login(handleLogin, ["user_photos, publish_stream"]);
}

Original comment by da...@louter.info on 23 Jun 2011 at 10:46

GoogleCodeExporter commented 9 years ago
to not work
http://www.permadi.com/blog/2011/05/using-facebook-graph-api-in-flash-as3-to-upl
oad-image-and-post-to-photo-album/

Original comment by dosyaoz...@gmail.com on 23 Jun 2011 at 11:31

GoogleCodeExporter commented 9 years ago
certainly does not work

Original comment by dosyaoz...@gmail.com on 23 Jun 2011 at 11:34

GoogleCodeExporter commented 9 years ago
dosyaoz...@gmail.com, you need to give us more information than "does not 
work". Are you getting a fail object? Were you able to upload a photo to your 
account from that "http://www.permadi.com/..." link you provided?

Original comment by rovertn...@gmail.com on 30 Jun 2011 at 3:36

GoogleCodeExporter commented 9 years ago
It works.
But for the case that the album doesn't exist, it will create an album and then 
not to upload image. So I have to do it again to successfully update an image 
into that album.

Original comment by hax...@gmail.com on 28 Aug 2011 at 7:09

GoogleCodeExporter commented 9 years ago
Thanks for the info hax...@gmail.com, in regards to the photo not being 
uploaded to your new album issue, it sounds like a Facebook bug. I would try 
uploading an image using just the Javascript API and seeing if that works. If 
the issue is narrowed down to the AS3 API then please open another issue.

Original comment by rovertn...@gmail.com on 29 Aug 2011 at 4:48