Wondering if someone could help me out with some Facebook issues. I’m simply trying to post a message to the users’ wall. I have the Facebook app developer all set up with SSO.
here’s what I’m using. I got the “app requests” part to work when uncommented out.
[code]local function FacebookButton_Pressed ()
– first argument is the app id that you get from Facebook
facebook.login( “403XXXXXXXX”, listener )
facebook.request( “me/feed”, “POST”, {message = “This is a really cool game, you should play it.”} )
–[[
facebook.showDialog( “apprequests”, {
message = “This is a really cool game, you should play it.”
})
]]
print(“Just Made … a Facebook”)
return true
end
local FacebookButton_params = {
on = “GameRules/Facebook_out.png”,
onWidth = 37,
onHeight = 37,
off = “GameRules/Facebook_over.png”,
offWidth = 37,
offHeight = 37,
state = true,
callback = FacebookButton_Pressed
}
local FacebookButton = toggle.new( FacebookButton_params )
FacebookButton.x, FacebookButton.y = screenRight-48, screenTop+166
FacebookButton.xScale, FacebookButton.yScale = 1, 1
screenGroup:insert(FacebookButton)
–END FACEBOOK BUTTON
[code] [import]uid: 90878 topic_id: 29671 reply_id: 329671[/import]