Lincoln
Lincoln

Reputation: 3191

How can I get started building a Facebook application with a Java server backend?

I want to utilise the Facebook JavaScript API in the client, but manage app logic and configuration on the server through REST web services. I've tried a lot of tutorials out there, but so far I haven't seen one that actually works.

I'm looking for a comprehensive tutorial or set of recommended practices to get started.

Thanks

Upvotes: 0

Views: 125

Answers (2)

Craig Schwarzwald
Craig Schwarzwald

Reputation: 56

I just so happened to create a blog series that takes you through EVERYTHING you will need. The articles:

  • Setup Eclipse (IDE) and JBoss AS7 (server)
  • Setup other JBoss Tools including Forge
  • Setup JAX-RS Web Service in Java using Forge (very easy!)
  • Setup account to Host the site for FREE with OpenShift
  • Setup an entire sample Facebook App

This blog series should be EXACTLY what you're looking for. You can find the first of three articles here:
http://ocpsoft.org/opensource/creating-a-facebook-app-setup-and-tool-installation/

Upvotes: 1

blitzqwe
blitzqwe

Reputation: 2040

I would recommend going with Spring Social module with has a good abstraction of the Facebook API.

You could then expose these services via REST with Spring Web Services or Jersey.

I am not sure about the hosting. Facebook should see it as a valid application no matter the host. Even your development computer/localhost cando it.

Upvotes: 0

Related Questions