Facebook Platform enables you to make your web site more social. You can use our Social Plugins , such as the Like Button to drive user engagement with a single line of HTML. Our Login Button and Registration Plugin let you simplify or eliminate your own user registration and sign-in.
I recently switched onmydoorstep.com.au ‘s Facebook login feature from the old “Facebook Connect” API implemented with facebook-java-api over to the new Facebook Graph API / OAuth 2.0 authentication. This was far easier to implement than the original authentication, particular under Apache Wicket, but it should be easier regardless of your Java framework of choice. Here’s how I did it.
Getting Started If you're new to the Graph API you should start with the Graph API Getting Started Guide . The Graph API is the primary way that data is retrieved or posted to Facebook. The Getting Started Guide contains an overview of the basics of the API, walks you through using the Graph API Explorer , shows you how names work, how permissions work, what connections are and puts it all together so the rest of this reference make sense. Reading Data