(资料图片)
绿标短网址移动网缩短接口网址api调用php方式解析 app.10086.cn是移动网站的接口,可以制作移动网等第三方官方网站域名的任意生成接口,由于是认证企业,可以再抖音 微信 qq等第三方渠道正常打开不拦截提示,第三方网址,头条文章等,效果非常号,这里记录下api接口,纯技术php生成,具体规则可以去抖音的开放平台去申请对应接口 。这里用我php模拟抓包获取方式
GET http://www.app10086cn.cn/?i=app.10068.cnHTTP/1.1Host: www.douyin.comConnection: keep-aliveUpgrade-Insecure-Requests: 1User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Encoding: gzip, deflate, sdch, brAccept-Language: zh-CN,zh;q=0.8Cookie: _ba=BA0.2-20190724-5199e-eYmonG3XHx15O5lNJOa3; ttwid=6823359101650863623; gr_user_id=4a85f421-a665-4b93-ba09-3a6cb3625fb9; grwng_uid=051956d7-c720-44de-9183-3c4caf190856; SLARDAR_WEB_ID=b4aa8308-c503-402e-a79d-238f3dd7d029; sid_guard=d568eac749e1075600336a683c0441c4%7C1590125973%7C5184000%7CTue%2C+21-Jul-2020+05%3A39%3A33+GMT; uid_tt=6efa329c0f43810313592283c39c0c78; sid_tt=d568eac749e1075600336a683c0441c4; sessionid=d568eac749e1075600336a683c0441c4; _ga=GA1.2.2030908690.1563943834
返回第三方站生成 的缩短地址:HTTP/1.1 200 OKServer: nginx/1.14.2Date: Wed, 10 Jun 2020 02:20:31 GMTContent-Type: application/octet-streamContent-Length: 0Connection: keep-alivex-tt-trace-host: 01d65cb42690d2ea77070484916bd957f8043b3e679df10dfabb0df56f629b72aca976fab9ab477fbf98a344ae423c0918x-tt-trace-tag: id=00;cdn-cache=missX-TT-TIMESTAMP: 1591755631.202http://www.app10086cn.cn/xxxx