Hello!
For our app, we need to post screenshots to Facebook albums.
There are several problems with this:
- facebook.request(“me/photos”) gives “facebook sdk error 5”. This seems to have broken for a year, despite hefty forum discussions earlier this year.
- So I decided to upload the photo to my own server and post to Facebook from there. But then the built-in Corona function network.upload() just doesn’t work either. Seems to have been broken for several years.
- So I used an upload workaround the user “bpappin” posted in 2011. So now I am able to upload photos.
However, there are two issues:
- The JPEG screenshot generated by display.save() is over 200K, which takes over 10 seconds to upload on a mediocre 3G connection.
- Moreover, bpappin’s workaround encodes the image as base64, adding an extra 25% to the file size and upload time.
My questions to Corona:
- Can you repair facebook.request(“me/photos”)?
- Can you repair network.upload()?
Thank you for your attention and hope this will be seriously addressed soon.