Hello, I want to post in a High Score in Facebook, and I had used the example of Corona SDK and it is running right.
The problem is, when I change the image, for my image the post failed.
example code:
–
if fbCommand == POST_PHOTO then
local attachment = {
name = “Developing a Facebook Connect app using the Corona SDK!”,
link = "http://www.coronalabs.com/links/forum",
caption = “Link caption”,
description = “Corona SDK for developing iOS and Android apps with the same code base.”,
picture = "http://www.coronalabs.com/links/demo/Corona90x90.png",
actions = json.encode( { { name = “Learn More”, link = “http://coronalabs.com” } } )
}
facebook.request( “me/feed”, “POST”, attachment ) – posting the photo
end
I change for, the file is in my folder
picture = “logo.png”,
Thank You