Book Image

SPRING COOKBOOK

Book Image

SPRING COOKBOOK

Overview of this book

Table of Contents (19 chapters)
Spring Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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