关于微信跳转,这里有你想知道的一切weixin://dl/business/?ticket=td9cd0bf056c561fe9f56e33c61df61bf
纠结了了很久,还是放出来部分接口,相信能够看到这篇文章的人也基本都是需求比较强烈的。
京东:
https://wq.jd.com/mjgj/link/GetOpenLink?rurl=http%3a%2f%2fwqs.jd.com%2fad%2fjump.shtml%3fcurl%3dhttps%253a%252f%252flp.jd.com%252fpage%252f95%252flp_6699.html?templateid=1&skudetail=1&_=1513255618822&callback=jsonpCBKC&g_tk=290916568&g_ty=ls
https://wq.jd.com/mjgj/link/GetOpenLink?rurl=http://h5.m.jd.com/dev/RLVegkgjdNJoM4Y1WsvAnKLD7Qw/index.html?appurl=http://storage.360buyimg.com.autojqr.com/test.jpg&_=1513255618822&callback=jsonpCBKC&g_tk=290916568&g_ty=ls
艺龙:
function get_ticket($code){
$code = "http://www.wxticket.com"
$url = "http://elongwx.elong.com/openlink/getJsonpOpenLink?url=https%3a%2f%2fx.elong.com%2fauthorize%2fwxuserinfo%2fcode%2f%3fbackUrl%3d".$code."&callback=handleWxCall&_=0.5987220185693924";
$ch = curl_init();
$headers = array();
$headers[] = 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_1_2 like Mac OS X; zh-CN) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/15B202 UCBrowser/11.7.7.1031 Mobile AliApp(TUnionSDK/0.1.20)';
$headers[] = 'Referer: https://m.mall.qq.com/release/?busid=mxd2&ADTAG=jcp.h5.seo.niao';
$headers[] = 'X-UCBrowser-UA: dv(iPh9,2);pr(UCBrowser/11.7.7.1031);ov(11_1_2);ss(0x0);bt(UC);pm(0);bv(0);nm(0);im(0);nt(2);';
$headers[] = 'Content-Type:application/x-www-form-urlencoded; charset=UTF-8';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$content = curl_exec($ch);
curl_close($ch);
preg_match('/openlink\":\"(.*?)\"}/',$content,$result);
$url = $result[1];
return $url;
}
微信游戏圈:
code by: www.wxticket.com
function get_ticket($code){
//初始化
$url = "https://game.weixin.qq.com/cgi-bin/comm/openlink?noticeid=90070127&appid=wx58164a91f1821369&url=https%3a%2f%2fgame.weixin.qq.com%2fcgi-bin%2fh5%2fstatic%2fcommunity%2fclub_detail.html%3fappid%3dwx95a3a4d7c627e0xx%26topic_id%3d".$code."%26key%3d7dc869ac8a00de992f27241f3346bb9bfc948223e63523e60f3c4fb27f190e9cd44b53168bb3e8b76ab961e687a7fc698ec8f07a1c159b522eec9d3e6cc652c97a5bf34813855e27f55cad1ce0728783%26uin%3dMzMxOTMwNTgzNQ%253D%253D%26abtest_cookie%3dAwABAAoADAANAAgAZIgeANWIHgDhiB4A%252FIgeALOJHgD4iR4AGYoeAEyKHgAAAA%253D%253D%26pass_ticket%3dZv88n7fo%252Bw%252By0AlUMhzpKr7nhgDjC63IzRX4opH%252B9t8gTnA5WINVHxQ%252BEWTicx3Iwechat_redirect";
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); // https请求 不验证证书和hosts
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
$headers = array();
$headers[] = 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_1_2 like Mac OS X; zh-CN) AppleWebKit/537.51.1 (KHTML, like Gecko) Mobile/15B202 UCBrowser/11.7.7.1031 Mobile AliApp(TUnionSDK/0.1.20)';
$headers[] = 'Referer: https://m.mall.qq.com/release/?busid=mxd2&ADTAG=jcp.h5.index.dis';
$headers[] = 'X-UCBrowser-UA: dv(iPh9,2);pr(UCBrowser/11.7.7.1031);ov(11_1_2);ss(0x0);bt(UC);pm(0);bv(0);nm(0);im(0);nt(2);';
$headers[] = 'Content-Type:application/x-www-form-urlencoded; charset=UTF-8';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$content = curl_exec($ch);
curl_close($ch);
//$arr = json_decode($content,1);
//if($arr['success'] == '1'){
// $shotCode = $arr['shotCode'];
//}else{
// $shotCode = '';
//}
//preg_match('/openlink\":\"(.*?)\"}/',$content,$result);
//$url = $result[1];
preg_match('/href=\"(.*?)#wechat/',$content,$result);
$url = $result[1];
return $url;
}
财付通:
function wx_ticket($code){
$code = "http://qian.tenpay.com/mb/inc/wx_auth.shtml?url=https%3A%2F%2Fkf.qq.com%2Fcgi-bin%2Fappcallh5%3Fjumpurl%3Dhttps%253A%252F%252Fssl.htdata.qq.com%252Fcgi-bin%252Fhttpconn%253Fhtcmd%253D0x6ff0080%2526wap%253D3%2526page_bytes%253D8192%2526u%253D".urldecode(urldecode(urldecode($code)));
$url = "http://qian-img.tenpay.com/app/v2.0/wxh5_fund_qry_openlink.cgi";
$time = time();
$data = [
'url' => $code,
'timestamp' => $time,
'signature' => sha1($code.$time.'c1d477c67b95a1c8cf18b0f45a096b1b')
];
$ch = curl_init();
$headers = [];
$headers[] = 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1';
$headers[] = 'Content-Type:application/x-www-form-urlencoded; charset=UTF-8';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$content = curl_exec($ch);
echo $content ;
curl_close($ch);
return json_decode($content,true);
}
http://elongwx.elong.com/openlink/getJsonpOpenLink?url=https%3a%2f%2fx.elong.com%2fauthorize%2fwxuserinfo%2fcode%2f%3fbackUrl%3d".$code."&callback=handleWxCall&_=0.5987220185693924
https://game.weixin.qq.com/cgi-bin/comm/openlink?noticeid=90070127&appid=wx58164a91f1821369&url=https%3a%2f%2fgame.weixin.qq.com%2fcgi-bin%2fh5%2fstatic%2fcommunity%2fclub_detail.html%3fappid%3dwx95a3a4d7c627e0xx%26topic_id%3d".$code."%26key%3d7dc869ac8a00de992f27241f3346bb9bfc948223e63523e60f3c4fb27f190e9cd44b53168bb3e8b76ab961e687a7fc698ec8f07a1c159b522eec9d3e6cc652c97a5bf34813855e27f55cad1ce0728783%26uin%3dMzMxOTMwNTgzNQ%253D%253D%26abtest_cookie%3dAwABAAoADAANAAgAZIgeANWIHgDhiB4A%252FIgeALOJHgD4iR4AGYoeAEyKHgAAAA%253D%253D%26pass_ticket%3dZv88n7fo%252Bw%252By0AlUMhzpKr7nhgDjC63IzRX4opH%252B9t8gTnA5WINVHxQ%252BEWTicx3Iwechat_redirect
http://elongwx.elong.com/openlink/getJsonpOpenLink?url=https%3a%2f%2fx.elong.com%2fauthorize%2fwxuserinfo%2fcode%2f%3fbackUrl%3dhttp%3A%2F%2Ft.cn%2f".$code."&callback=handleWxCall&_=0.5987220185693924
https://wq.jd.com/mjgj/link/GetOpenLink?rurl=http://h5.m.jd.com/dev/RLVegkgjdNJoM4Y1WsvAnKLD7Qw/index.html?appurl=http://storage.360buyimg.com.autojqr.com/test.jpg&_=1513255618822&callback=jsonpCBKC&g_tk=290916568&g_ty=ls
https://wq.jd.com/mjgj/link/GetOpenLink?rurl=http%3a%2f%2fwqs.jd.com%2fad%2fjump.shtml%3fcurl%3dhttps%253a%252f%252flp.jd.com%252fpage%252f95%252flp_6699.html?templateid=1&skudetail=1&_=1513255618822&callback=jsonpCBKC&g_tk=290916568&g_ty=ls
关于微信跳转,这里有你想知道的一切weixin://dl/business/?ticket=td9cd0bf056c561fe9f56e33c61df61bf的更多相关文章
- 拼多多(7pdd)微信跳转h5页面打开app跳转任意url关注技术weixin://dl/business/?ticket
拼多多微信跳转接口利用了微信官方的weixin://dl/business/?ticket技术,此类接口可以在官方接口中找到,分析代码如下: <title>拼多多</title> ...
- 微信跳转之WAP跳转微信公众号关注页面链接weixin://dl/business/?ticket=
本文整理了部分微信 URL Schemes,经过本人测试,所有url在微信 6.3.22 版本下都可正常工作.大家可以在 Safari 中打开链接进行尝试.(部分链接仅允许在微信内部浏览器中打开,已用 ...
- 微信跳转技术,浏览器唤起微信,weixin://dl/business/?ticket=
weixin://dl/business/?ticket= 到底怎么生成的?调用以下接口 weixin://dl/scan 扫一扫weixin://dl/feedback 反馈weixin://dl ...
- [微信跳转链接]之WAP浏览器跳转微信指定页面,微信跳转链接
今天在一个小说的链接上看到最后,点击一个[继续阅读按钮]居然唤起微信APP,在微信内打开一个二维码,长按识别后可关注微信公众号, 后来分析出:weixin://dl/business/?ticket= ...
- 微信跳转,wap网页跳转微信打开指定页面
最近一朋友的客户有这么一需求,wap网页跳转微信打开指定页面,让用户去关注公众号.想这么干,通过网页跳转到微信并打开带有二维码的网页,用户长按识别二维码就可以关注了.想法很好,于是去搜索了“微信跳转, ...
- [微信跳转链接]之WAP跳转微信内指定页面
由于微信覆盖太全面了,几乎所有人都使用微信APP,但是对于做产品的公司来说,所有的产品几乎都离不开微信的推广,然而微信属于封闭式的一个社交应用,大部分只能在今日头条,百度,等等...如果你在推广页面上 ...
- 微信跳转,网页跳转微信app跳转公众号关注页面[转载]
[微信跳转链接]之跳转公众号关注页面如何做到在微信内部在这里插入代码片浏览器打开的webview页面中,跳转到微信公众号的关注页面呢!我们可以通过访问微信提供的URL协议(weixin://)来实现这 ...
- 微信跳转,手机WAP浏览器一键超级跳转微信指定页面
微信跳转,手机WAP浏览器一键超级跳转微信指定页面 这篇文章主要介绍了如何在手机浏览器wap网页中点击链接跳转到微信界面,需要的朋友可以参考下 先说第一种,最简单的唤起微信协议,weixin://主流 ...
- C#又能出来装个B了。一步一步微信跳一跳自动外挂
PS:语言只是载体.思维逻辑才是王道 前天看见了个python的脚本.于是装python.配置环境变量.装pip.折腾了一上午,最终装逼失败. 于是进入博客园,顶部有篇文章吸引了我 .NET开发一个微 ...
随机推荐
- sklearn标准化-【老鱼学sklearn】
在前面的一篇博文中关于计算房价中我们也大致提到了标准化的概念,也就是比如对于影响房价的参数中有面积和户型,面积的取值范围可以很广,它可以从0-500平米,而户型一般也就1-5. 标准化就是要把这两种参 ...
- python经典书籍推荐:python编码规范
目录INF-qa Python 编码规范................................................................................ ...
- Hadoop| YARN| 计数器| 压缩| 调优
1. 计数器应用 2. 数据清洗(ETL) 在运行核心业务MapReduce程序之前,往往要先对数据进行清洗,清理掉不符合用户要求的数据.清理的过程往往只需要运行Mapper程序,不需要运行Reduc ...
- 对《将Unreal4打包后的工程嵌入到Qt或者桌面中》一文的补充
在上一文中本人尝试将Ue4嵌入到Qt中,但依然有一些问题没有去尝试解决.今天因为帮助知乎专栏作者@大钊的关系,顺便进行补完. 2018.7.18更新: 正好在参加杭州UnrealCircle的时候见到 ...
- Leetcode中值得一做的题
3.longest substring Given a string, find the length of the longest substring without repeating chara ...
- 对迭代器操作的python 模块
import itertools import more_itertools 目前用到的more_itertools.ilen(range(10)) --->返回可迭代的数量.这回消耗迭代,小心 ...
- 移动端滑动效果 swiper 4.0.7
<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8" ...
- editplus注册码生成
http://www.jb51.net/tools/editplus/ 主要JS代码: function generate_editplus_regcode() { var list = [0,493 ...
- atom编辑器安装插件报错。。
Checking for native build tools failed gyp info it worked if it ends with ok gyp info using node-gyp ...
- Android学好Shape不再依赖美工
原创 2014年03月27日 15:33:41 标签: Android Shape用法 20427 先上图 其实以上效果没有让美工提供任何图片 只要学会Shape你就能实现 想怎么样就怎么样 下面介绍 ...