ShareSDK应用

原文地址
http://www.csdn.net/article/2015-09-28/2825816

试了一下shareSDK,在网页中直接添加如下代码即可,方便。
shareSDK:http://mob.com/#/login

<!--MOB SHARE BEGIN-->
    <div class="-mob-share-ui-button -mob-share-open">分享</div>
    <div class="-mob-share-ui" style="display: none">
        <ul class="-mob-share-list">
            <li class="-mob-share-weibo"><p>新浪微博</p></li>
            <li class="-mob-share-tencentweibo"><p>腾讯微博</p></li>
            <li class="-mob-share-qzone"><p>QQ空间</p></li>
            <li class="-mob-share-qq"><p>QQ好友</p></li>
            <li class="-mob-share-weixin"><p>微信</p></li>
            <li class="-mob-share-douban"><p>豆瓣</p></li>
            <li class="-mob-share-renren"><p>人人网</p></li>
            <li class="-mob-share-kaixin"><p>开心网</p></li>
            <li class="-mob-share-facebook"><p>Facebook</p></li>
            <li class="-mob-share-twitter"><p>Twitter</p></li>
            <li class="-mob-share-pocket"><p>Pocket</p></li>
            <li class="-mob-share-google"><p>Google+</p></li>
            <li class="-mob-share-youdao"><p>有道云笔记</p></li>
            <li class="-mob-share-mingdao"><p>明道</p></li>
            <li class="-mob-share-pengyou"><p>朋友网</p></li>
            <li class="-mob-share-tumblr"><p>Tumblr</p></li>
            <li class="-mob-share-instapaper"><p>Instapaper</p></li>
            <li class="-mob-share-linkedin"><p>LinkedIn</p></li>
        </ul>
        <div class="-mob-share-close">取消</div>
    </div>
    <div class="-mob-share-ui-bg"></div>    
    <script id="-mob-share" src="http://f1.webshare.mob.com/code/mob-share.js?appkey=acf37456f646"></script>

就能做到快速分享效果。

你可能感兴趣的:(代码,应用)