I’m trying to post my game snapshot to user and their friend’s wall.
I test following code to post image to user’s photo album it works fine.
display.save(camera, "snapshot.jpg", system.DocumentsDirectory)
local attachment = {
message = "Hello",
source = { baseDir=system.DocumentsDirectory, filename="snapshot.jpg", type="image" }}
facebook.request( "me/photos", "POST", attachment )
But I have no idea when deal with the wall. please help me [import]uid: 133712 topic_id: 24858 reply_id: 324858[/import]
