淘宝VIP优惠券

QQ里面发网址链接在手机端显示XML卡片的方法

QQ里面发网址链接在手机端显示XML卡片的方法

解决方法:

https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshareget_urlinfo?url=https://www.sxlog.com/

去提交抓取网址,强制让 QQ来抓我们的网站

我们将www.sxlog.com替换成自己的网站地址,注意http和HTTPS,不要写错。

然后用电脑浏览器打开。这里一定是电脑!把这个链接刷新几遍使其生效!

然后我们打开了出现一堆json数据,无视他,都是抓到的图片标题等东西,那么久成功了!

返回信息如下:

_Callback({"nick":"","pics":"https%3A%2F%2Fwww.sxlog.com%2Flogo.png|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Fuploadfile%2F201806%2Fad6c1529498374.jpeg|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Ftemplates%2Femlog_dux%2Fimages%2Frandom%2F4.jpg|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Fuploadfile%2F201806%2Fthum-f37c1529658308.jpg|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Fuploadfile%2F201504%2Fthum-ccec1430395911.jpg|https%3A%2F%2Fwww.sxlog.com%2Fguanggao%2Fsuixin1.jpg|https%3A%2F%2Fwww.sxlog.com%2Fguanggao%2Ftaobao11.jpg|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Fuploadfile%2F201806%2Fe7a51530353057.jpg|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Fuploadfile%2F201807%2Fd6fb1531038296.jpg|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Fuploadfile%2F201807%2Fthum-41341531045751.jpg|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Fuploadfile%2F201807%2F407d1531037772.jpg|https%3A%2F%2Fwww.sxlog.com%2Fcontent%2Fuploadfile%2F201807%2Fthum-a9921530961759.jpg","result":{"code":0,"msg":"","now":1531047157},"site":"","summary":"随心网(sxLog.com)一个资源整合分享网站,所有资源来自于互联网的收集整合,方便需要的网友们查阅,同时分享生活中的有趣见闻,随心网与大家一起携手未来的每一天! ","title":"随心网   个人日志博客","type":4,"uin":1,"urlcount":0});

本博客所有文章如无特别注明均为原创。作者:随心网复制或转载请以超链接形式注明转自 随心网
原文地址《QQ里面发网址链接在手机端显示XML卡片的方法

相关推荐

易发游戏

发表评论

路人甲 表情
Ctrl+Enter快速提交

网友评论(0)