Social Media Apps - Facebook Apps

Spring Social – Bring your social networks together

Spring SocialSpring Social is a framework, which allows you to connect your web application with multiple social network providers such as Facebook, XING, LinkedIn or Twitter and other Software-as-a-Service (SaaS) providers in a standardized way.

How it works

The Spring Social framework can be divided into two important parts.

Firstly, the Service Provider API, that abstracts the connection handling to different social networks and connects the local user accounts of your web application with the social networks user accounts. The Service Provider API standardize the way of authorization, because the different social networks how XING, Facebook, Twitter, GitHub etc. use different authorization standards how OAuth, OAuth2, etc. or protocols, that are self-defined.

This Service Provider API provides a Connection interface, which describe the connection model to a special social network (e.g. XING) and a “ConnectionFactory” class, which creates the connection on runtime user flow.

Secondly, the Connect Controller coordinates the authorization logic between a Spring web application, the configured service providers (e.g. Facebook) and the users. The ConnectController creates a special flow, which depends on the used authorization protocol (e.g. for OAuth2, see http://static.springsource.org/spring-social/docs/1.0.x/reference/html/connecting.html#connect-controller).

Examples

You will find a lot of running Spring Social examples at the following URL:

https://github.com/SpringSource/spring-social-samples

Look at the showcase example. After a source code checkout you can build and start the example with the command: mvn tomcat:run

Prospect for SocialTalkie

Based on this framework a lot of new products are conceivable. The development team of SocialTalkie will soon start a new and innovative product based on Spring Social.

Be excited. :-)

Author: Rafael Sobek

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>