Facebook CheckIn problem

someone knows why this isn’t working?

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/checkins", "POST", { coordinates = "-29.809193, -50.059011", place = "Maori Beach Club", message = "Acabei de chegar no Maori!" } )  
 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( "121532041261776", listener, {"publish\_stream"} )  

thanks [import]uid: 23063 topic_id: 17049 reply_id: 317049[/import]

found a problem but still not posting in my wall the checkin

facebook.login( "121532041261776", listener, { "publish\_stream", "publish\_checkins"} )  

any idea? [import]uid: 23063 topic_id: 17049 reply_id: 64023[/import]

anyone knows what is the problem?

someone from ansca maybe knows what is the problem? [import]uid: 23063 topic_id: 17049 reply_id: 64308[/import]

I haven’t played with Facebook to post any places/check-in stuff, so bear with me - but how did you work out how to do this line;
[lua] facebook.request( “me/checkins”, “POST”, { coordinates = “-29.809193, -50.059011”, place = “Maori Beach Club”, message = “Acabei de chegar no Maori!” } )[/lua]?

I haven’t seen “coordinates” mentioned anywhere. [import]uid: 52491 topic_id: 17049 reply_id: 64457[/import]

http://developers.facebook.com/docs/reference/api/

here

down there has a table with: Method, Description and Arguments

and in the checkin have this Arguments:

“coordinates, place, message, tags” [import]uid: 23063 topic_id: 17049 reply_id: 64486[/import]

and another thing that don’t work is the “like” function
I can’t like my app in facebook =S [import]uid: 23063 topic_id: 17049 reply_id: 64487[/import]