Skip to content

rodchile/NSMeetUpO2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

NSMeetUpO2

Overview

NSMeetUpO2, Makes painless the O2Auth authorization process for your iOS apps on the Meetup.com API.

==========

How to use it?

Create a new consumer in Meetup.com

Create a new consumer to access to the Meetup.com API. Is very important you remember the Redirect URI, because thanks to that we will be able to acccess to the access_token, after a user authorizes your app.

Once you create the consumer, you should see something like this in meetup.com

Consumer Info

Register the Redirect URI in your xCode Project

You should register the URI redirect of your consumer app in Meetup.com as one of the URL Types of your iOS Project in xCode.

URL Type in xCode

Add MUOAuthManager in your App Delegate

Add a single line in the method openURL: in your app delegate, NSMeetUpO2 will do the rest of the magic :)

-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{
    [MUOAuthManager handleOpenURL:url];
    return YES;
}

The library once obtains the access token send the kNotificationDidLogin notification and leaves the obtained access_token in NSUserDefaults, using the @"access_token" key.

==========

Support

Problems? Open an issue in this project and I'll be happy to help.

Questions? Ping me on Twitter (@rodchile) or my email (rod at rodrigogarcia.net)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published