Android friends social sharing, those pits I stepped on

Source: Internet
Author: User

After integration with the SDK demo, several pits were encountered. Now summarize the pits and give me the solution.

1, click on QQ or space sharing, the application of non-responsive (ANR) situation.

? Workaround: ? Check whether the shared picture parameters have been set, no settings will appear ANR, settings can be shared normally. Title, URL, content and other parameters as far as possible to set up, in case there are other strange strange problems

2, sharing is not successful. The phenomenon is the interface that appears after clicking or sharing a circle of friends, prompting please wait, then flash away. View Logcat error occurred:

# # Get SSO Handler, Requestcode = 10086, Access denied (unknown error)-----------share

# # Get SSO Handler, Requestcode = 10085, Access denied (unknown error)-----------Friends Circle Share

Workaround:

This looks at the consistency of the application MD5 signatures and the MD5 signatures registered on the open platform. It is worth noting that the MD5 signature entered on the open platform must have no colon and should all be lowercase letters. Please pay special attention. If it's the same, or not, empty the cache, no more, reinstall the app or change the phone test.


3, Sina Weibo sharing, Web page display: You visit the site in the Micro-blog certification failed, please try again later. If you have any questions, please contact XX. (Error:redirect_uri_mismatch). This problem often occurs when a new mobile app is submitted but not audited.

Workaround: You need to configure the secure domain name in the application profile of the Weibo open platform: sns.whalecloud.com. Also configure the OAuth2.0 authorization Settings in the Advanced information:

    • Authorization Callback page:

    • Http://sns.whalecloud.com/sina2/callback

    • Cancel Authorization Callback page:

    • Http://sns.whalecloud.com/sina2/callback


4, Sina Weibo began to share the failure of sharing soon after the error, view Logcat error: Sina:error, User is not in Platform app test list

Workaround: from a log error, the user who is prompted to share is not in the Platform app's test account list. This generally occurs in applications that are not audited. You can test sharing by adding a test account to your app's test information.






Android friends social sharing, those pits I stepped on

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.