title: SoundCloud's connect with Facebook not working in iOS
body: <p>I'm trying to integrate my iOS app with SoundCloud. I've registered an app at "http://soundcloud.com/you/apps" and got the app ID and secret key in order to compose the auth URL:</p>
  
  <p>"https://soundcloud.com/connect?client_id=da3beb496ca5bd92e2ae39a4bf775cca&amp;redirect_uri=rocksteady://oauth2&amp;response_type=code"</p>
  
  <p>I simply made a UIWebView load a request with that very url. After pushing the "Connect with Facebook" button app redirected to the facebook login page. After logging in the Facebook I got redirected back to SoundCloud and finally my callback uri was called and I got my access token. All worked just fine on 15th of March 2012.</p>
  
  <p>Today I've launched the project and got the following oAuth exception from Facebook:</p>
  
  <pre><code>{
     "error":{
        "message": "Missing redirect_uri parameter.",
        "type": "OAuthException",
        "code": 191}
  }
  </code></pre>
  
  <p>I've found out that now app redirects to <a href="https://graph.facebook.com/oauth/authorize?x=82&amp;y=15" rel="nofollow">https://graph.facebook.com/oauth/authorize?x=82&amp;y=15</a> but on the 15th of March the url was <a href="https://graph.facebook.com/oauth/authorize?display=touch&amp;redirect_uri=https://soundcloud.com/connect/via/facebook/returning&amp;state=eyJjbGllbnRfaWQiOiJkYTNiZWI0OTZjYTViZDkyZTJhZTM5YTRiZjc3NWNjYSIsInJlZGlyZWN0X3VyaSI6InJvY2tzdGVhZHk6Ly9vYXV0aDIiLCJyZXNwb25zZV90eXBlIjoiY29kZSIsInBvcHVwIjpmYWxzZX0=&amp;scope=publish_actions,email,user_birthday,offline_access&amp;client_id=19507961798" rel="nofollow">different</a> and contained all the parameters required to redirect back to SoundCloud after logging in.</p>
  
  <p>The authorization process using desctop computer works just fine (checked using Safari &amp; Chrome).</p>
  
  <p>Does anyone have an idea on how to get this fixed? Thanks.</p>
  
  <p>P.S. Sorry for posting a few links as strings. Not enough mana to post more than two links for now.</p>