How do you request Facebook access tokens in Corona? [import]uid: 102088 topic_id: 25366 reply_id: 325366[/import]
What do you mean request a facebook access token?
You must sign up with facebook to get one.
Then use it in corona
Look here for some more info
http://www.doubleslashdesign.com/Downloads.aspx
Larry [import]uid: 11860 topic_id: 25366 reply_id: 102463[/import]
Haven’t implemented this with Corona yet, but according to the API documentaiton it’s pretty straight forward. Corona will do the OAuth handshake for you and you just get a callback with the access token in it.
This here should help:
http://developer.anscamobile.com/reference/index/facebooklogin
–wunderwuzzi [import]uid: 118947 topic_id: 25366 reply_id: 102503[/import]
Ahh, now I get it! I want to use the Facebook Graph API for scores and achievements… For that to work, I have to grant the “publish_actions” permission. So then I just do this?
facebook.login( appId, listener, {“publish_stream”, “publish_actions”} )
I didn’t actually realize the permissions part of the login…
Thanks for the replies btw!
[import]uid: 102088 topic_id: 25366 reply_id: 102504[/import]
Sure thing, glad we could help. [import]uid: 118947 topic_id: 25366 reply_id: 102558[/import]