Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6107189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:09:41+00:00 2026-05-23T14:09:41+00:00

I am creating an iPhone app using the TestApp application that came with the

  • 0

I am creating an iPhone app using the TestApp application that came with the Soundcloud
Coca API wrapper download.

When I use the key and client id and call back URL there is no
problem. I can log into the app using my Soundcloud account and upload
the my tracks at the touch of a button.

When I switch the client id, key and callback URL to the one that I
have listed on my developer account the behavior changes. I can log in
and the app gets registered to my account, but before my username is
posted to the app I get a 401 at this level in the code:

 - (void)connectionDidFinishLoading:(NSURLConnection *)connection; 
{ 
#if (NXOAuth2ConnectionDebug) 

    NSLog(@"%.0fms (SUCC) - %@", -[startDate 
timeIntervalSinceNow]*1000.0, [self descriptionForRequest:request]); 

#endif 
    printf("connectionDidFinishLoading\n");

        if (sendConnectionDidEndNotification) [[NSNotificationCenter 
defaultCenter] postNotificationName:NXOAuth2DidEndConnection 
object:self]; 

        sendConnectionDidEndNotification = NO; 

    printf("connectDidFinishLoading.1\n"); 
    printf("self.statusCode:   %d \n", self.statusCode); 

Since my app works perfectly fine with the key, id and callback URL
given in the TestApp it is strange to me that when I switch these
values I get the 401.

Just to clarify further:

It is an iOS app and I have definitely placed the correct key and id
in the correct spot. The client ID and Secret from souncloud.com (not
sandbox-soundcloud) are plugged into the values directly under

#ifdef kUseProduction

This seems to me the correct thing to do. Also, in my info.plist file
I have the URL identifier

com.imc 

and the URL scheme

http://imc 

which matches exactly the redirect URI have filed with Soundcloud.

Likewise I have defined my kCallbackURL as

http://imc

Any other thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T14:09:42+00:00Added an answer on May 23, 2026 at 2:09 pm

    I finally got the answer from the lovely people at SoundCloud.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating an iphone app using Facebook api. Here I'm using the following
I'm creating an iPhone app that will pull data down from a Web API,
Here I am creating an iPhone app using facebook api. I have loaded the
I've been creating an iPhone App using Core Data. First of all, does it
I am new to the iphone platform and am creating an app that retrievals
I have recently started creating an iPhone application using Appcelerator's Titanium. Since the application
I am creating an iphone app and wanted to know if using NIB files
I am creating my second iPhone app, and I've included a feedback form using
I'm creating a web-browser type app (using a web view object) that needs to
I'm creating an iphone app using Facebook apis. I need to get the user's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.