By Chris Dannen

Starting iOS Apps with fb and Twitter APIs exhibits you the way so as to add the facility of social networking on your cellular apps on iPhone, iPad, and iPod contact. With this booklet as your consultant, you could write apps that connect with fb and Twitter fast, securely, and discreetly. rather than ranging from scratch, you'll construct at the massive assets, info garage capability, and normal positive factors of those structures that have turn into a part of way of life for thousands of hundreds of thousands of clients around the world. starting iOS Apps with fb and Twitter APIs introduces you to the advance instruments, options, and layout practices it is important to paintings with the APIs. It is helping you opt even if to take advantage of fb, Twitter, or either, and explains the real problems with layout, branding, and permissible use directions. you are going to how to warrantly privateness and use OAuth for authentication and unmarried sign-on.

Show description

Read or Download Beginning iOS Apps with Facebook and Twitter APIs: for iPhone, iPad, and iPod touch PDF

Similar tablets & e-readers books

iPad Application Development For Dummies

IPad app improvement is scorching, with greater than 140,000 apps on hand particularly for the gadget and that quantity starting to be each day. The advent of iOS five and iCloud supplies builders much more thoughts to create amazing iPad apps. This speedy and pleasant consultant to iPad app improvement is totally up-to-date for the newest enhancements and covers every little thing you want to understand, beginning with the best way to obtain the SDK and develop into an Apple developer all of the solution to completing your app and filing it to the App shop.

Android User Interface Development: Beginners Guide

"Quickly layout and boost compelling person interfaces on your Android functions Leverage the Android systems flexibility and tool to layout impactful user-interfaces construct compelling, trouble-free functions that would glance nice on any Android machine Make your program stick out from the remaining with types and subject matters a realistic novices advisor to take you step by step during the technique of constructing consumer interfaces to get your functions spotted!

The iPad 2 Project Book

Utilizing your iPad isn't a passive job. With its lovely touchscreen, back and front cameras, and sweeping selection of apps, the iPad 2 is ideal for doing stuff--for construction, growing, and organizing. are looking to plan an occasion? deal with your mail and calendars? seize and edit a video? Even construct a wiki?

Extra resources for Beginning iOS Apps with Facebook and Twitter APIs: for iPhone, iPad, and iPod touch

Example text

3 or above). info CHAPTER 5: Working Securely with OAuth and Accounts If these conditions are both met, the Facebook API will attempt to do the following: 1. Display a login dialog to the user from within your app by launching Facebook’s own app (Figure 5–3). Figure 5–3. By launching its own app to authorize others, the Facebook app gives the appearance of logging into Facebook system-wide. 2. After the user logs in—or if he is already logged into his Facebook app—the OAuth authorization process will prompt him to accept or decline your app’s attempt to access resources from his Facebook account and show what resources will be accessed.

Facebook has gone through the trouble of making authorization via OAuth seamless within its SDK. However, OAuth via Twitter is not as straightforward since Twitter does not have its own iOS SDK. In the following sections, we will walk you through the steps necessary to let users authorize your application via OAuth to access resources from Facebook or Twitter on their behalf. OAuth in Facebook Facebook is pretty liberal with basic user information; by default, your app can access anything that’s public in a user’s profile (which usually includes her real name, profile picture, friends list, and other minutiae like birthday, gender, and networks) without any authorization.

Single Sign-On with Facebook Facebook’s most recent iOS SDK adds a pretty terrific feature entitled Single Sign-On. It allows the Facebook for iOS app to share its OAuth token with other apps on the device. This means users no longer have to re-enter their Facebook username and password for every single app that asks for permission to access their resources on Facebook; the new mechanism uses iOS’s fast app switching to keep users logged into Facebook across the OS. Making this work requires that two conditions be satisfied:  The version of iOS that the app is running on must support multitasking.

Download PDF sample

Rated 4.40 of 5 – based on 11 votes