Home > Backend Development > PHP Tutorial > 求微信中转次数越多,排名越靠前

求微信中转次数越多,排名越靠前

WBOY
Release: 2016-06-13 12:04:33
Original
1363 people have browsed it

求微信转发次数越多,排名越靠前
求微信转发次数越多,排名越靠前

完整代码
------解决方案--------------------
排序不行莫
------解决方案--------------------
不是可以按照转发次数进行排序么?
------解决方案--------------------

<br />document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {<br />           <br />            // 分享到朋友圈<br />            WeixinJSBridge.on('menu:share:timeline', function(argv){<br />              var appid = '';<br />              var img = 'http://xxx.com/share.png';<br />              var link = 'http://xxx.com';<br />              var desc = '转发';<br />              var title = '转发';<br />                WeixinJSBridge.invoke('shareTimeline',{<br />                    "img_url": img,<br />                    "img_width": "200",<br />                    "img_height": "200",<br />                    "link": link,<br />                    "desc": desc,<br />                    "title": title<br />                }, function(res) {<br />                   if(res.err_msg=='share_timeline:ok'){<br />                            $.get("URL")//增加转发次数<br />                    }<br />                    _report('timeline', res.err_msg);<br />                });<br />            });<br />        }, false);<br /><br />
Copy after login

不知道是不是想找的这种

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template