I am trying to integrate an iOS application with SoundCloud. I registered the application with "http://soundcloud.com/you/apps" and received the application identifier and secret key to compile the authorization URL:
"https://soundcloud.com/connect?client_id=da3beb496ca5bd92e2ae39a4bf775cca&redirect_uri=rocksteady://oauth2&response_type=code"
I just made UIWebView load the request using this very url. After clicking the "Connect to Facebook" button, the application is redirected to the facebook login page. After logging into Facebook, I was redirected back to SoundCloud, and finally my callback uri was called, and I got my access token. On March 15, 2012, everything worked perfectly.
Today I started the project and received the following oAuth exception from Facebook:
{
"error":{
"message": "Missing redirect_uri parameter.",
"type": "OAuthException",
"code": 191}
}
I found out that now the application redirects to https://graph.facebook.com/oauth/authorize?x=82&y=15 , but on March 15 the URL was and contained all the parameters necessary to redirect back to SoundCloud after logging in.
The process of authorization using a desktop computer works very well (it is checked using Safari and Chrome).
Does anyone have an idea how to do this? Thank.
PS Sorry for posting multiple links as strings. Not enough mana to post more than two links.
Anton source
share