Skip to content

Example: Foursquare

toto edited this page Feb 14, 2013 · 1 revision
[[NXOAuth2AccountStore sharedStore] setClientID:@"clientID"
                                         secret:@"clientSecret"
                               authorizationURL:[NSURL URLWithString:@"https://foursquare.com/oauth2/authenticate"]
                                       tokenURL:[NSURL URLWithString:@"https://foursquare.com/oauth2/access_token"]
                                    redirectURL:[NSURL URLWithString:@"myapp://foursquare-callback"]
                                 forAccountType:@"Foursquare"];
Clone this wiki locally