Javascript-H5 page sharing

Source: Internet
Author: User
I read a post about how to share the H5 page, circle of friends, QQ, and space functions. I can only share them through indirect calls from the UC browser or QQ browser, but today, I saw an activity in DiDi taxi APP as an H5 page, which can be called even if the mobile phone is not equipped with UC or QQ...

I read a post about how to share the H5 page, circle of friends, QQ, and space functions. I can only share them through indirect calls from the UC browser or QQ browser, but today, I saw an activity in DiDi taxi APP as an H5 page, which can be called even if the mobile phone is not equipped with UC or QQ. Which of the following experts knows this knowledge or has functional code, you can spend money to buy

Reply content:

I read a post about how to share the H5 page, circle of friends, QQ, and space functions. I can only share them through indirect calls from the UC browser or QQ browser, but today, I saw an activity in DiDi taxi APP as an H5 page, which can be called even if the mobile phone is not equipped with UC or QQ. Which of the following experts knows this knowledge or has functional code, you can spend money to buy

Native apps can inherit the sdk, so they can implement one-click Sharing in the native app.
But a pure H5 page won't work. (You can take a taxi to get the H5 page and check it out ).

As for UC browser, QQ browser is acceptable. Because UC browser and QQ browser are originally a native app, they have inherited this part of the sdk and exposed the method externally, it can be called directly using js, so one-click Sharing can also be implemented.

Baidu sharing
Http://share.baidu.com/code

appYeswebviewAndh5Interactive, pureh5Page to go to the developer platform for authorization, and then can call the interface to share see here http://mp.weixin.qq.com/wiki/11/74ad127cc054f6b80759c40f77ec03db.html

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.