You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't logged in Instagram with this api. First I have to put my public and secret key as callback url as well. After that, all code should run perfectly, but in InstagramAuthenticatorView in line 73 you have your callback url hardcoded and not from Defines.h.
But after, the demo never called the access_token request. In line 96 of InstagramAuthenticatorView I had to change to if([[request.URL absoluteString] hasPrefix:@"my_url?code="]).
Now he get in the "if" but the instagram sent an wrong response, something like "wrong code".
I used your encode code to create the request because I had problems setting the HTTPBody and I copied from you and works fine. Thank you :D
Your code was last edited 2 years ago, you need to fix something but I didn't figure it out what is wrong.
The text was updated successfully, but these errors were encountered:
I can't logged in Instagram with this api. First I have to put my public and secret key as callback url as well. After that, all code should run perfectly, but in InstagramAuthenticatorView in line 73 you have your callback url hardcoded and not from Defines.h.
NSString *url = [NSString stringWithFormat:@"https://api.instagram.com/oauth/authorize/?client_id=%@&display=touch&%@&redirect_uri=http://buza.mitplw.com&response_type=code", INSTAGRAM_CLIENT_ID, scopeStr];
But after, the demo never called the access_token request. In line 96 of InstagramAuthenticatorView I had to change to if([[request.URL absoluteString] hasPrefix:@"my_url?code="]).
Now he get in the "if" but the instagram sent an wrong response, something like "wrong code".
I used your encode code to create the request because I had problems setting the HTTPBody and I copied from you and works fine. Thank you :D
Your code was last edited 2 years ago, you need to fix something but I didn't figure it out what is wrong.
The text was updated successfully, but these errors were encountered: