I am currently using these maven dependencies:

• restfb
• scribe oauth

I used Facebook's server side authentication method from here:
https://developers.facebook.com/docs/howtos/login/server-side-login/
The example is in PHP but it's very easy to translate to java.

1). create an app with Facebook.
2). authorize it with Scribe using the Facebook API that is implemented in
his code.
3). Send user to authorization URL, get a code back as a page parameter.
4). Request the permissions that the user authorized your app for from the
authorization URL. Using restfb.
5). Display or manipulate user as needed.

Restfb is the newer version of the original code that you were using.

On Saturday, February 23, 2013, kshitiz wrote:

> I was looking for more approaches for Facebook login and someone told me
> about this https://github.com/wicketstuff/core/wiki/Facebook. Has anyone
> tried out that API? I am really looking for a good solution for integrating
> wicket app with Facebook. Please tell me the available approaches.
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Regarding-Facebook-login-API-in-wicket-1-5-tp4656656p4656714.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] <javascript:;>
> For additional commands, e-mail: [email protected]<javascript:;>
>
>

-- 
_______________________________________
Stephen Walsh | http://connectwithawalsh.com

Reply via email to