Facebook Stream Publish - Picture post

hi all,

i am able to post a hello message by the example given, but it seems like never post up the image
is there someting wrong with my setup?

[code]
local facebook = require “facebook”

– listener for “fbconnect” events
local function listener( event )
if ( “session” == event.type ) then
– upon successful login, request list of friends
if ( “login” == event.phase ) then
– facebook.request( “me/friends” )
facebook.request( “me/feed”, “POST”, {message = “iOS Runn”, picture = “http://www.axess.com/twilight/sock/graphics/tron_k.jpg”} )
end
elseif ( “request” == event.type ) then
– event.response is a JSON object from the FB server
local response = event.response
print( response )
end
end

– first argument is the app id that you get from Facebook
facebook.login( “”, listener, {“publish_stream”} )
[/code] [import]uid: 10373 topic_id: 8525 reply_id: 308525[/import]


facebook.request( “me/feed”, “POST”,
{
message = “iOS Runn”,
picture = “http://www.axess.com/twilight/sock/graphics/tron_k.jpg”,
icon = “http://www.axess.com/twilight/sock/graphics/tron_k.jpg”,
source = “http://www.youtube.com/watch?v=lOgET40kQuQ”,
}
)
[/code]
is it bcoz corona only support message ? [import]uid: 10373 topic_id: 8525 reply_id: 30566[/import]

your first example should work i’m sure. check peachpellen’s post
http://techority.com/2011/03/08/add-facebook-posting-to-your-corona-iphone-app/

[import]uid: 6645 topic_id: 8525 reply_id: 30614[/import]