O'Reilly logo

Beginning Mobile Application Development in the Cloud by Richard Rodger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required