Hello,
I’ve been trying (for the past 2 days) to post an image located on the Ressource directory of the app to the user’s wall.
Logging in, Posting an image located on the web (like in the Facebook sample code) works great, Posting an image works great.
However, when trying to post an image from system.RessourceDirectory or System.DocumentsDirectory, using the code below:
local attachment = {
message = "Just a description of the photo.",
source = { baseDir=system.ResourceDirectory, filename="iheartcorona.jpg", type="image" }
}
facebook.request( "me/photos", "POST", attachment )
from :
http://www.coronalabs.com/blog/2011/12/16/uploading-photos-to-facebook-in-corona/
It’s a fail.
This used to work before (as i already published apps with this code).
Unfortunately, since i am trying to post screenshots, i don’t have the option to use webbased images.
I’d like to make sure that the problem comes from Corona before logging in a bug.
Anyone else experiencing the same issue?
d.
[import]uid: 100310 topic_id: 35955 reply_id: 335955[/import]