I'm trying to login to Sina Weibo from my iOS app using OAuth 2.0. I got the official Sina Weibo SDK from here and official documentation from here.
When I import the SDK and creates an instance it asks for appRedirectURI.
SinaWeibo *sinaWeibo = [[SinaWeibo alloc] initWithAppKey:kAppKey appSecret:kAppSecret appRedirectURI:kAppRedirectURI andDelegate:self];
I want to know why we need RedirectURI in iOS app, I know it is required in Android apps but I think it is not required in iOS apps.
Can someone please explain me?
Thanks.
Did not you try the wrapper class from here, which make things easy?