Hi Evgene,
I've already debugged the app, both locally and ion a device with weinre, but everything works fine except that the response from facebook is "(#324) Requires upload file" as i mentioned before. No other error or warning is shown.
Obviously there is something wrong with the way im sending the photo data, but from what i could tell from Facebook docs and googleing around, all the JS is fine, mostly as shown here:
http://stackoverflow.com/questions/16...
So the JS steps would be:
1-Getting the image as base64 encoded string (i use a predefined one "hardcoded" to a string variable. I've tested, and the encoded string is right).
2-Transforming it into a BLOB (Facebook doesn't like base64)
3-Appending it to a FormData with its name as "source" (as shown in FB api docs)
4-Using that as the "data" parameter in the service call.
I assume the problem must be around step 4, as it is the only one that really differs from the others solutions as it is an Appery.io specific implementation.
So, again, what i'm trying to guess is how to send the image blob using an Appery.io service invokation. Must it be of type data? or JSON? mut i change the type to multipart/form-data manually?
I've tried all this woithout success, but i cannot possibly try out all combinations of parameters types and ways to send the image until i arrive to the correct implementation.
Thanks