Chapter 10. Connecting to Facebook and Twitter

In this chapter, we will cover the following recipes:

  • Creating a Facebook app
  • Creating a test Facebook app and test users
  • Connecting to Facebook
  • Retrieving a Facebook user's profile
  • Retrieving the list of friends of a Facebook user
  • Posting a Facebook status update
  • Posting a link to Facebook
  • Posting a custom object to Facebook
  • Creating a Twitter application
  • Connecting to Twitter
  • Retrieving a user's Twitter profile
  • Retrieving the tweets of a Twitter user
  • Posting a tweet to Twitter
  • Sending a private message to another Twitter user

Introduction

In this chapter, we will make a Spring web application access Facebook and Twitter accounts in order to:

  • Retrieve user data, such as name, e-mail, tweets, posts, and so on
  • Create ...

Get Spring Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.