Facebook Message Post Problem

hi,

Now i am using corona sdk 746 build . In my game i want to post my high score into facebook. but when i click facebook button it will quite the application and goto web browser open facebook . it will show some error…

This is my code.
*******************
local facebook = require “facebook”
local appId = “XXXXXXXXXX”
_G[“Score”] = 100
local Facebookimage = display.newImage(“FacebookConnect.png”)
local Facbook_Listener = function ( event )
if event.phase == “ended” then
if appId then
local function listener_Facebook( event )
if ( “session” == event.type ) then
if ( “login” == event.phase ) then
local statusUpdate = “xxxx”
facebook.request( “me/feed”,“POST”,{
name=statusUpdate,
message = “xxxxx- My High Score “…_G[“Score”],
caption=” A mobile game developed by xxxxxx.”,
picture=“http://xxxxxx/wp- content/uploads/2011/10/Icona.png”} )
end
end
end
facebook.login( appId, listener_Facebook, {“publish_stream”} )
end
end
end
Facebookimage:addEventListener(“touch”,Facbook_Listener)
*******************

thanks.

[import]uid: 119468 topic_id: 21891 reply_id: 321891[/import]

Does this work with latest stable version (704) ? [import]uid: 52491 topic_id: 21891 reply_id: 87061[/import]

thanks peach
[import]uid: 119468 topic_id: 21891 reply_id: 87080[/import]

yeah it’s working fine in 704 build.but i need one clarification currently i am using corona sdk 746 . if i make build in 704 ,is it make any problem to other functionality?.

thanks [import]uid: 119468 topic_id: 21891 reply_id: 87081[/import]

Are you using any new features added since the stable release?

Because everything after 704 is a “daily build” we can’t guarantee that they will work perfectly, we roll them out so you can check out new features and bug fixes, etc. but they aren’t stable releases.

If you are unsure whether or not you are using any new features then my guess is you aren’t - but naturally you’d want to build for device and test before submitting.

Peach :slight_smile: [import]uid: 52491 topic_id: 21891 reply_id: 87235[/import]