One, Sina SSO authorization Error SSO package or sign error
1, Sina Weibo open platform application did not audit through, can not use SSO login, otherwise error.
Turn off SSO Login
Platform Platform = Sharesdk.getplatform (this, sinaweibo.name);
Platform. Ssosetting (TRUE);
2, reviewed, and then package the signature apk, to ensure that the APK MD5 code to be with the Sina Audit, submitted by the MD5 code consistent, to call SSO login, that is, the name and signature of the package on Sina Weibo should be consistent with the package name and the actual signature of your project;
The MD5 value here is the signature of the application project and can be referenced by shared posts: share (compare and configure)
Second, Sina micro Bo Error:redirect_uri_mismatch
The hint is that the callback address is not set, or that you set a callback address that is different from the callback address set by the Weibo open platform;
Let us explain below:
Settings for Weibo in the Sharesdk.xml file:
<sinaweibo
Id= "1"
Sortid= "2"
appkey= "568898243"
appsecret= "38a4f8204cc784f81f9f0daaf31e02e3"
Redirecturl= "http://www.sharesdk.cn"
Sharebyappclient= "true"
Enable= "true"/>
Where RedirectURL is the set callback address, where the address is the same as the address set by the microblog development platform:
:
This problem can be solved as long as the callback address in the code is set to the same address as the Weibo open platform.
Video problem reproduction and solution: http://v.youku.com/v_show/id_XODA0NTg3NDIw.html
Third, Sina Weibo error:invalid_client
Sina Weibo news Invaild client_id
First, your application on Sina did not pass the audit, and did not set up a test account;
Second, through the review did not correctly fill in the information to the Sharesdk.xml configuration file;
Third, the application package runs after the signature is not the same as when the registration.
More SHARESDK FAQs can be found at the Mob forum.
[Sharesdk for Android] Sina Weibo FAQs