Beginning iOS Apps with Facebook and Twitter APIs shows you how to add the power of social networking to your mobile apps on iPhone, iPad, and iPod touch. With this book as your guide, you can write apps that connect to Facebook and Twitter quickly, securely, and discreetly. Instead of starting from scratch, you will build on the vast resources, data storage capacity, and familiar features of these platforms which have become part of everyday life for hundreds of millions of users worldwide.
Beginning iOS Apps with Facebook and Twitter APIs introduces you to the development tools, techniques, and design practices you will need to work with the APIs. It helps you decide whether to use Facebook, Twitter, or both, and explains the important issues of design, branding, and permissible use guidelines. You will learn how to guarantee privacy and use OAuth for authentication and single sign-on.
Create news apps, shopping apps, contact apps, GPS apps, guides, and more, that let users transparently:
- Sign on once, then freely work with and manage their Facebook and Twitter accounts
- Publish gamehigh scores, post likes, links, and status updates
- Send messages, share pictures, and forward Tweets
- Tweet a link to an event, show themselves as attending, and see who else is there
- Show Tweets that are relevant to a topic within a news app
- Show Tweets about a restaurant
- Organize a group or community
From time to time, new forms of communication come along that make it easier for people to communicate and manage their social lives. Like phone calls and SMS before them, Facebook and Twitter have, in a shorttime, become essential parts of the social fabric of life for an ever-growing number of people throughout the world. The knowledge you'll gain from Beginning iOS Apps with Facebook and Twitter APIs will help you create exciting and popular iOS apps that your users will rely on every day to help make their lives more meaningful and connected.
What you’ll learn
- How to integrate these social networks’ APIs into your code
- How to run multitasking apps and run streamlined background processes
- When and how to use Oauth for authentication
- How to connect your users to each other
- Howand where to publish and request data and media from the social graph
- How to work with JSON, push notifications and other data interchanges
- How to take advantage of open-source software like Google Wrappers and Google Toolbox
- How to iterate quickly when using the UIWebView controller
- How to specify visual & interaction design that is consistent with the design of the platforms (for both iPad and iPhone)
Who this book is for
This book is for iPhone and iPad developers whoalready knowthe fundamentals of iOS development and want to add social networking functionality to their apps.
Table of Contents
- What the Social Graph Can Do for Your App
- Privacy, Privacy, Privacy
- Choose Your Weapons!
- Getting Set Up
- Working Securely with OAuth and Accounts
- Getting Your App Ready for Social Messaging
- Accessing People, Places, Objects and Relationships
- POSTing, Data Modeling, and Going Offline
- Working with Location-Awareness and Streaming Data
- Using Open-Source Tools and Other Goodies
- Apps You Can (and Cannot) Build
- UI Design and Experience Guidelines for Social iOS Apps
- TwitterUI Design
- Facebook UI Design