Hopefully someone can assist, I am trying to allow my users to upload a photo of their screen to Facebook. I’ve been successful at allowing them to post to their wall just not the ability to upload an image.
This is what I am doing currently:
[lua]screenCap = display.captureScreen (true)
local attachment = {
source = screenCap,
message = “imageMessage”
}
facebook.request ( “me/photos”, “POST”, attachment )[/lua]
I’m pretty sure this is how to post the photo (as I’ve done it this way outside of Corona successfully) but I think the issue is the image is in the wrong format.
Any ideas? [import]uid: 11554 topic_id: 4729 reply_id: 304729[/import]