I’ve mentioned a number of libraries for utilizing a user’s social accounts in your apps such as ShareKit which supports many social networks and over time Apple has provided their own APIs for social sharing with a few networks.
Social accounts also make a great way to authenticate users. Here’s a library that allows you to use add authorization based on social accounts within your app called SimpleAuth from Caleb Davenport.
This example from the readme shows how easy it is to use SimpleAuth – first you need to configure a provider:
SimpleAuth.configuration[@"twitter"] = @{
@"consumer_key" : @"KEY",
@"consumer_secret" : @"SECRET"
};
And set up your authorization method:
– (void)loginWithTwitter {
[SimpleAuth authorize:@"twitter" completion:^(id responseObject, NSError *error) {
NSLog(@"%@", responseObject);
}];
}
Currently supported by SimpleAuth are Facebook, Twitter, Instagram, Meetup and Tumblr.
You can find SimpleAuth on Github here.
A nice easy way to add authorization using social accounts.
- Open Source Library Providing A Framework For Storing/Retrieving Social Network Account Credentials
- Open Source iOS Library Providing A Clean High-Level Syntax For Integrating App.net
- Open Source Control For Creating SLComposeViewController Type Views For Any Social Network
- Open Source: Social Networking, Sharing And Activity Tracking Library
- Handy Library Providing Many Different Customizable Sharing Buttons Using Core Graphics
Original article: Library Allowing You To Easily Add Social Network Based Authentication Into Your iOS Apps
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.