Spring Social Reference Manual

Craig Walls

Keith Donald

1.0.0.M2

© SpringSource Inc., 2011


Table of Contents

1. Spring Social Overview
1.1. Introduction
1.2. Socializing applications
1.3. How to get
2. Service Provider 'Connect' Framework
2.1. Base API
2.2. Establishing Connections
2.2.1. OAuth2 Service Providers
2.2.2. OAuth1 Service Providers
3. Implementing Service Providers
3.1. OAuth2 Service Providers
3.2. OAuth1 Service Providers
4. Connecting to Service Providers
4.1. Introduction
4.2. Registering service providers
4.2.1. Configuring service providers in XML
4.3. Creating connections with ConnectController
4.3.1. Displaying a connection page
4.3.2. Initiating the connection flow
Authorization scope
4.3.3. Responding to the authorization callback
4.3.4. Disconnecting
4.4. Connection interceptors
5. Signing in with Service Provider Accounts
5.1. Introduction
5.2. Sign in with Twitter
5.3. Sign in with Facebook
5.4. Signing up after a failed sign in
6. Working with Service APIs
6.1. Introduction
6.2. Twitter
6.2.1. Retrieving a user's Twitter profile data
6.2.2. Tweeting
6.2.3. Reading Twitter timelines
6.2.4. Searching Twitter
6.2.5. Sending and receiving direct messages
6.3. Facebook
6.3.1. Retrieving a user's profile data
6.3.2. Getting a user's Facebook friends
6.3.3. Posting to a user's wall
6.3.4. Publishing to Facebook
6.4. LinkedIn
6.4.1. Retrieving a user's LinkedIn profile data
6.4.2. Getting a user's LinkedIn connections
6.5. TripIt
6.5.1. Retrieving a user's TripIt profile data
6.5.2. Getting a user's upcoming trips
6.6. GitHub
6.6.1. Retrieving a GitHub user's profile
6.7. Gowalla
6.7.1. Retrieving a user's profile data
6.7.2. Getting a user's checkins