Book description
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 game high 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 short time, 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
How and 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 who already know the fundamentals of iOS development and want to add social networking functionality to their apps.
Table of contents
- Copyright
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Preface
-
1. What the Social Graph Can Do for Your App
- 1.1. What Is This Book for?
- 1.2. Learning the Social Graph
-
1.3. Brief Overview of the APIs and Services
- 1.3.1. Facebook
- 1.3.2. Twitter
-
1.3.3. The Social Graph on iOS
- 1.3.3.1. Local Notifications
- 1.3.3.2. Task Completion
- 1.3.3.3. Fast Task Switching and Saved State
- 1.3.3.4. Background Music, Location, and VOIP
- 1.3.3.5. SMS: Search and in-app SMSing
- 1.3.3.6. More Powerful Photos and Calendars
- 1.3.3.7. New Camera and Flash
- 1.3.3.8. Map Overlays
- 1.3.3.9. iAd
- 1.3.3.10. Quick Look
- 1.3.3.11. Math APIs
- 1.3.3.12. File Transfer
- 1.4. Summary
- 2. Privacy, Privacy, Privacy
- 3. Choose Your Weapon!
- 4. Getting Set Up
- 5. Working Securely with OAuth and Accounts
- 6. Getting Your App Ready for Social Messaging
- 7. Accessing People, Places, Objects, and Relationships
- 8. POSTing, Data Modeling, and Going Offline
-
9. Working with Location Awareness and Streaming Data
-
9.1. Here, There, and Everywhere
- 9.1.1. Location Privacy, Disclosure, and Opt-Out
- 9.1.2. Facebook Places
- 9.1.3. Adding Locations to Tweets
- 9.1.4. Power Hungry
- 9.1.5. CoreLocation
- 9.1.6. Generating Locations in the iOS Simulator
- 9.1.7. MapKit
- 9.1.8. Facebook Places (Search), Check-ins (Getting and Posting), and Friends Nearby
- 9.1.9. Tweetin' With Location
- 9.2. Conclusion
-
9.1. Here, There, and Everywhere
- 10. Using Open Source Tools and Other Goodies
-
11. Apps You Can (and Cannot) Build
- 11.1. Twitter: No Clients Allowed
- 11.2. REST API Rate Limiting
- 11.3. Facebook: Mind Your Manners
- 11.4. App Gallery
- 11.5. Conclusion
- 12. UI Design and Experience Guidelines for Social iOS Apps
- 13. Twitter UI Design
- 14. Facebook UI Design
Product information
- Title: Beginning iOS Apps with Facebook and Twitter APIs: For iPhone, iPad, and iPod touch
- Author(s):
- Release date: July 2011
- Publisher(s): Apress
- ISBN: 9781430235422
You might also like
book
iPad® and iPhone® Tips and Tricks (Covers iOS 6 on iPad, iPad mini, and iPhone), Second Edition
Easily Unlock the Power of Your iPad, iPad mini, or iPhone Discover hundreds of tips and …
book
iPad and iPhone Tips and Tricks: (covers iOS7 for iPad Air, iPad 3rd/4th generation, iPad 2, and iPad mini, iPhone 5S, 5/5C & 4/4S)
iPad® and iPhone® Tips and Tricks Covers iPad Air, iPad 3rd/4th generation, iPad 2, iPad mini, …
book
iOS Auto Layout Demystified
Auto Layout re-imagines the way developers create user interfaces. It provides a flexible and powerful system …
book
Creating iOS 5 Apps: Develop and Design
With more than 250 million iOS devices sold Apple’s booming mobile platform provides a large and …