How to access Facebook from a Playframework service [duplicate]
Possible Duplicate:
Library to Integrate Facebook login with Play Framework?
I use playframework to make Json/Rest services - n开发者_开发知识库o webinterface. I want to make a service, which posts a message on a Facebook wall. I had a look at fbconnect and fbgraph, but they seem to only support webinterface. Am I right ?
Of course, I can just access the Facebook graph API directly, but I would like to know if there are better ways. Later I want to do a lot more with the graph api.
If you want to post to any user's wall you will need the OAuth dialog in order to FB grant access to your app on the user's wall, at least for the first time.
If you are posting to your system's wall then you can get the access token's for your application and store it somewhere.
精彩评论