Upgrade OAuth 2 for Sina Weibo (Or all services ?)
Closed this issue · 3 comments
icyleaf commented
Here has two solution below:
- Migrating to OAuth 2 (Good for almost support OAuth2 services)
- Using Sina Weibo OAuth 1 & 2 bridge api (Using OAuth1 acess token exchange Oauth2 access token & expires timestamp)
YoniTsafir commented
+1
icyleaf commented
Completed with commit SHA: a16b8a1 & SHA: 5352dee
Here is import sina weibo official sdk: weibo_ios_sdk_sso-oauth, and iOS 6 Social framework (issue #4).
Flow:
- Check iOS version, if it is ios 6, then continue check social type (sinaweibo must chinese language), all pass, it calls Social panel.
- Check Sina Weibo app is installed, then open the app (likes Facebook app auth flow).
- None of above, open url built-in UIWebView.
icyleaf commented
Only upgrade for Sina weibo to support OAuth 2