Difficulties in umeng social sharing
Currently, the new version of the product needs to support social sharing. In fact, the old version already exists, but it is blocked and there is nothing to open it again, however, it is found that new requirements need to support one more platform, and the SDK of the old platform is too old (all interfaces have been changed). In order to save time, we should consider umeng's social sharing, it takes 10 minutes for quick integration.
Next, let's take a look at some of the problems encountered by umeng.
First
Product requirements
In order to avoid reading the large demand documents, we will streamline the requirements related to this article.
- Share with friends
- Share to friends
- Share to QQ space
- Share on Sina Weibo
- Share images + Text
- Share video + Text
- Share plain text
- Click share to go to an intermediate page.
The intermediate page also has a lot of requirements, but this page is the responsibility of Web colleagues, so it is not recorded in this article.
The coding process is completely different from the expectation. umeng's social sharing is not so attribute. There are various reasons for this. Let's take a look at it.
Inappropriate UI
After reading the default UI, the product barely accepts the UI on the mobile phone. But it is really ugly to put the UI on the iPad. In this way, you have to write a set of interfaces. It will take 10 minutes for his sister. later, when I saw it, I found that there was a Cancel button under the mobile phone, and the product thought that there were still some white users who could not know how to click the blank area to cancel it. the mobile phone interface is different from the tablet interface. Well, there is another set.
Different text display effects
When sending messages to friends, you cannot jump to the intermediate page.
Solution: Add a default image if you need to change to plain text.
Different video display effects
Again, when you share a video, you can directly click it to play the video. You cannot jump to the middle page. Sina Weibo shows some videos with only one URL, and you can click it to download them.
Solution: The requirement is changed to video sharing. When the image is shared, a video preview is sent out.
The redirect link settings are different.
And QQ needs to be set every time, Sina did not have this setting.
Solution.
The effect of the title attribute is inconsistent.
- QQ space and content displayed by default if no title is set. That is to say, the content is repeatedly displayed twice.
- If the title is set in the circle of friends, the content will not be displayed.
- Sina Weibo does not have this function
Difficulties in umeng social sharing