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 6061685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:57:54+00:00 2026-05-23T08:57:54+00:00

I haven’t made much progress, so rather then look for an answer to the

  • 0

I haven’t made much progress, so rather then look for an answer to the error stated in my original question, I think my problem would best be solved by some overall instructions on how to use Oauth properly. Please look below to question reformulated.


ORIGINAL QUESTION

I’m using the cocoa-wrapper api for soundcloud on my iPhone app. I’m trying to post with the code below, but get an error 422. I believe it has to do with the string @”x-myapplicationurlscheme://connect”, but the url’s given to me by soundcloud look like this:

 https://soundcloud.com/connect
 https://api.soundcloud.com/oauth2/token
 http://api.soundcloud.com/oauth/request_token
 http://api.soundcloud.com/oauth/access_token
 http://soundcloud.com/oauth/authorize

and I don’t think they need to be plugged into the Dictionary below. On the other hand I don’t know what else to put there. Also, it seems to me there were some errors in the original sample code which I have corrected, but maybe erroneously.

 [api performMethod:@"POST"
     onResource:@"connections"
 withParameters:[NSDictionary dictionaryWithObjectsAndKeys:
                                             @"service", @"twitter",
                                             @"x-myapplicationsurlscheme://connection", @"redirect_uri",
                                             @"touch", @"display", //optional, forces services to use the mobile auth page if available
                                             nil]
        context:nil
       userInfo:nil];

So the question is….

How do I use this POST correctly? What am I doing wrong that gives the error 422?


QUESTION REFORMULATED

What I’m trying to accomplish is to have the user press a button to be able to connect their Soundcloud account to Facebook. This way they can have audio posted to FB automatically after it is uploaded to Soundcloud.

Below are screen shots of my Soundcloud configuration page and places within my app that need setting up. I believe that it is just a matter of plugging in the right the values in the right place, but I’m not sure exactly how to do this. Help, please!

Also, the last screenshot shows what happens when the user presses the Facebook connect button. Does this look right?

Thanks so much,

enter image description here

enter image description here

enter image description here

enter image description here

  • 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-23T08:57:55+00:00Added an answer on May 23, 2026 at 8:57 am

    Okay so Chapter 21 Web Services of The Big Nerd Ranch Guide to iPhone Programming seems to have help clear things up quite a bit.

    I guess this question was too vast to be answered. I thought I could plug in some values and a couple of lines of code and that would be it. Guess not.

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

Sidebar

Related Questions

No related questions found

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.