views:

63

answers:

1

For a new J2EE Facebook Connect project, do you recommend:

  • restfb (http://www.restfb.com), or:
  • Facebook Java API (http://code.google.com/p/facebook-java-api)

The requirements cover pretty much everything supported by Facebook Connect.

Completeness, ease of use, stability, etc are important. But what matters the most to us are the odds that the selected library flourishes and ends up being the winner, if there is such at thing.

Thank you.

A: 

With the new OAuth2 based authorization flow and the Graph API, the amount of "work" an SDK does has been greatly reduced. I'd suggest that you choose a library that does not try to provide very high level abstractions, and instead understand and leverage the fact that you're making HTTP API calls (for instance, for parallelization of HTTP requests). We recently released an Android SDK which while not related to your question, may be a good point of reference.

daaku

related questions