JBoss.orgCommunity Documentation

Seam Social Module

Reference Guide


Provides CDI Beans and extensions to interact with major social network.

Provides:

  • OAuth connectors to authentify with an OAuth providers

  • Support for Authentication for Twitter, LinkedIn and Facebook only right now

  • Status update for Facebook Twitter and LinkedIn

  • Support for multi-account (multi-service and multi session for the same service)

Seam Social is independent of CDI implementation and fully portable between Java EE 6 and Servlet environments enhanced with CDI. It can be also used with CDI in JSE (desktop application). It is build on top of scribe-java from fernandezpablo85

For more information, see the Seam Social project page.

To consume an OAuth service you need to declare an application on the service platform (i.e. for Twitter you can do, this on https://dev.twitter.com/apps/new). The declaration of an application contains at least :

  • an API public key

  • an API private/secret key

To use an OAuth service bean in Seam social you need to provide these configuration information in two ways :

  • thru an OAuthConfigSettings bean

  • by adding the @ConfigureOAuth annotation when injecting the OAuth service bean