Chapter 12

Going Social!

WHAT YOU WILL LEARN IN THIS CHAPTER:

  • Understanding the Twitter REST API
  • Using the Twitter developer console
  • Using an App Design Process
  • Understanding use case analysis
  • Organizing your code
  • Drawing wire frames
  • Analyzing object dependencies
  • Implementing client-only OAuth
  • Making OAuth API calls
  • Using events to keep your code clean

Social media sites such as Twitter, Facebook, LinkedIn, and even Google are an essential part of the cloud. You need to understand how to use these social cloud services and how to integrate their APIs into your apps. This chapter shows you how to build a social media mobile app.

As with the Amazon API, the APIs provided by the social media sites are large and extensive, and they could fill books all by themselves. This chapter uses the Twitter social media site, http://twitter.com, as the basis for building an app that interacts with social media sites. It assumes that you are familiar with the basic features of Twitter. If you’re not, you should register an account and play around a bit.

The Twitter API is a REST-based HTTP API that uses the JSON data format. You have been well prepared by the earlier chapters in this book to deal with this API, and you will find yourself in familiar territory. This chapter focuses on a subset of the Twitter API so that you can examine the implementation of the API integration rather than struggle to learn the details of the API.

In this chapter, you’ll build an app to manage your Twitter direct ...

Get Beginning Mobile Application Development in the Cloud 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.