Facebook photo on Feed

guys,

I am trying to upload a photo onto the wall… how do I do it?

I can upload photos to albums… i can upload a picture with a http url to the feed…

but how can i upload a picture from my resources directory onto the feed?

I am using the below code… any help is appreciated

[code]
local attachment = {
name = “Developing a Facebook Connect app using the Corona SDK!”,
link = “http://developer.anscamobile.com/forum”,
caption = “Link caption”,
description = “Corona SDK for developing iOS and Android apps with the same code base.”,
picture = {baseDir=system.ResourceDirectory, filename=“test.jpg”, type=“image”},
actions = json.encode( { { name = “Learn More”, link = “http://anscamobile.com” } } )
}

facebook.request( “me/feed”, “POST”, attachment )
[/code] [import]uid: 67619 topic_id: 24199 reply_id: 324199[/import]

Same to me. orz
Message has posted but no photo
For alternate way to success this use ftp upload your picture and attach it by image URL like jasonschroeder do in this thread

http://developer.anscamobile.com/forum/2011/02/28/displaysave-facebook-connect-can-we-post-screen-captures-fb#comment-25940

Hope this issue has fixed in next daily build release [import]uid: 133712 topic_id: 24199 reply_id: 101022[/import]

Me too the same problem i hope anyone help us in this problem [import]uid: 160777 topic_id: 24199 reply_id: 118390[/import]

Guys… thanks… makes perfect sense… much appreciated [import]uid: 67619 topic_id: 24199 reply_id: 119416[/import]

I received error message can’t open page because the address is invalid [import]uid: 160777 topic_id: 24199 reply_id: 120834[/import]

I received error message can’t open page because the address is invalid [import]uid: 160777 topic_id: 24199 reply_id: 120834[/import]