Skip to content
This repository was archived by the owner on Aug 16, 2023. It is now read-only.

Twitter

Caleb Davenport edited this page Jan 22, 2014 · 11 revisions

The Twitter provider currently comes in two flavors: system and web. Both providers require consumer_key and consumer_secret to be present.

System

The system provider interacts with Accounts.framework and Social.framework to provide authentication. If multiple accounts are present, it creates a UIActionSheet and passes it to the block specified by SimpleAuthPresentInterfaceBlockKey. By default, that block shows the action sheet on [[[UIApplication sharedApplication] delegate] window]

Install the system provider by adding pod 'SimpleAuth/Twitter' to your Podfile. It can be configured by specifying options for the "twitter" provider.

Clone this wiki locally