Is it possible to post a photo stored locally? I am trying it like this-
local path = system.pathForFile( "Classic.png", system.ResourceDirectory )
facebook.login( facebookAppId, facebookListener, {"publish\_stream"} )
local attachment = {
message = "test",
source = path
}
facebook.request( "me/photos", "POST", attachment )
The only reason I am doing it with a /photos instead of /feed is that is seems that the picture included with a feed post has to be on a web address, and it won’t receive a locally stored photo.
Any suggestions?
I have already tried photos in the Resource, Temporary, and Documents directory. I have also tested with the standard post using a me/feed post, but it will not go to the wall if it is a local address (web address only). I am testing on an iPad. [import]uid: 10008 topic_id: 11538 reply_id: 311538[/import]