title: Login to Weibo using OAuth 2.0 from iOS app?
body: <p>I'm trying to login to Sina Weibo from my iOS app using OAuth 2.0. I got the official Sina Weibo SDK from <a href="https://github.com/mobileresearch/weibo_ios_sdk_sso-oauth" rel="nofollow">here</a> and official documentation from <a href="http://open.weibo.com/wiki/%E7%A7%BB%E5%8A%A8%E5%BA%94%E7%94%A8SSO%E6%8E%88%E6%9D%83" rel="nofollow">here</a>.</p>
  
  <p>When I import the SDK and creates an instance it asks for appRedirectURI.</p>
  
  <pre><code>SinaWeibo *sinaWeibo = [[SinaWeibo alloc] initWithAppKey:kAppKey appSecret:kAppSecret appRedirectURI:kAppRedirectURI andDelegate:self];
  </code></pre>
  
  <p>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.</p>
  
  <p>Can someone please explain me?</p>
  
  <p>Thanks.</p>