There was an error while loading. Please reload this page.
// App.net needs kNXOAuth2AccountStoreConfigurationAdditionalAuthenticationParameters for app store approval, // therefore we use -setConfiguration:forAccountType: NSDictionary *appNetConfigDict = @{ kNXOAuth2AccountStoreConfigurationClientID: @"yourClientID", kNXOAuth2AccountStoreConfigurationSecret: @"yourSecretZZZ", kNXOAuth2AccountStoreConfigurationScope: [NSSet setWithObjects:@"stream", @"write_post", nil], kNXOAuth2AccountStoreConfigurationAuthorizeURL: [NSURL URLWithString:@"https://alpha.app.net/oauth/authenticate"], kNXOAuth2AccountStoreConfigurationTokenURL: [NSURL URLWithString:@"https://alpha.app.net/oauth/access_token"], kNXOAuth2AccountStoreConfigurationRedirectURL: [NSURL URLWithString:@"yourapp://appnet-callback"], kNXOAuth2AccountStoreConfigurationTokenType: @"Bearer", kNXOAuth2AccountStoreConfigurationAdditionalAuthenticationParameters: @{ @"adnview": @"appstore" } }; [[NXOAuth2AccountStore sharedStore] setConfiguration:appNetConfigDict forAccountType:@"App.net"];