晨旭的博客
你想干什么!
晨旭的博客~
自定义qq分享工具

使用有问题请尝试下面两个人仿制的工具:

手柄君:https://www.bysb.net/1957.html

NEET:http://www.neet.online/share/

如果用上面那俩还是没解决问题,请在此留言~

程序已开源:https://github.com/chenxuuu/qqshare

更新日志:

2016-10-1 修复之前遗留的大规模的贴图库图片失效问题,替换为本地链接和微博图床。添加二维码扫描功能,使分享更方便。

2016-5-19 修复之前遗留的链接生成bug导致被生成链接404打不开的问题

2016-5-4 实现了可以二次转发已生成的页面的功能,修复若干bug,被生成页评论分为两部分

2016-5-2 修复短链接获取bug,支持手动获取短链接

2016-2-23 更换被生成页访问次数计数器为amazingcounters,解决amazingcounters加载慢导致网页加载慢的问题

2016-2-22 添加模板自动填写功能,修复被生成页网址打开错误的问题

2016-2-21 更新网站界面为bootstrap框架,添加在被生成页可打开指定网站功能,新制手机版并可自动跳转至手机版

2016-2-20 更新网站界面,在被生成页添加计数器(抄袭自手柄君)

2016-2-19 修复被生成页文字识别错误bug

2016-2-18 网站主页加上评论区

2016-2-16 修复生成网址的bug,并更换网址生成方式,修复cdn保护误报bug

2016-2-15 自定义分享初版完成

QQ很早以前就有的功能:看看下面几张图:

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/11781475298370.png?imageView2/2/w/309/h/140|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/61961475298371.png?imageView2/2/w/305/h/135|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/55551475298371.png?imageView2/2/w/307/h/134|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/37101475298371.png?imageView2/2/w/310/h/134|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

如此好(e)玩(su)的东西实现起来其实很简单

代码如下:

http://connect.qq.com/widget/shareqq/index.html?url=xxx&k=YOzK2k&desc=&title=xxx&summary=xxx&pics=xxx&site=xxx&style=201&width=32&height=32

但是腾讯略恶心的一点就是,“title”和“summary”字段不能自定义了,会从目标网页获取

所以没有自己网站的各位就没法愉快地玩耍了qwq

所以我做了个工具专门可以生成这类网页~

自定义qq分享工具网站:

http://qqshare.papapoi.com/

https://source.papapoi.com/wp-content/plugins/new-ueditor/ueditor/php/upload/99231475298371.png?imageView2/2/w/516/h/655|watermark/1/image/aHR0cDovL3NvdXJjZS5wYXBhcG9pLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAxNi8wOC9sb2dvcGljLnBuZw==/dissolve/100/gravity/SouthEast/dx/10/dy/10

界面比较简陋233333但是功能绝对足够~

有建议和问题就在下面留言吧~

赞赏
如非特殊说明,本站所有文章均采用知识共享 署名-非商业性使用-相同方式共享4.0国际许可协议(CC BY-NC-SA 4.0)进行许可。

发表评论

textsms
account_circle
email

  • https://secure.gravatar.com/avatar/8fab50b152fddfbff14f71e4e82cfe9a?s=80&d=mm&r=x
    Sogou Explorer Sogou Explorer Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0

    这个…标题显示为浏览器安全检查中
    papapoi.com
    然后内容是还剩五秒,百度云加速防护中
    点进去是原来的内容,但是在聊天页面显示不出来

    3年前回复
  • https://secure.gravatar.com/avatar/8e6b50102443fddc397d947adbb2ff73?s=80&d=mm&r=x
    777
    Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

    使用自定义qq分享工具分享出来的那个图上面只显示“浏览器安全检查中,还剩5秒,百度云加速防护中“这样的字样,并没有我写的那些字233(多次尝试以及更换浏览器也没用)

    3年前回复
  • https://secure.gravatar.com/avatar/6744859fb0f2e4a10e46bd58f13549d9?s=80&d=mm&r=x
    安于
    Sogou Explorer Sogou Explorer Windows 8.1 Windows 8.1
    Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0

    分享出去是浏览器正在安全检查papapoi.com 而不是标题 怎么搞?

    3年前回复
  • https://secure.gravatar.com/avatar/6744859fb0f2e4a10e46bd58f13549d9?s=80&d=mm&r=x
    安于
    Sogou Explorer Sogou Explorer Windows 8.1 Windows 8.1
    Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 SE 2.X MetaSr 1.0

    有些时候上了图片也不会在分享出去那里显示 是bug吗 不过还是好好喜欢 MUA~

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 48.0.2564.109 Google Chrome 48.0.2564.109 Windows 10 x64 Edition Windows 10 x64 Edition
      Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36

      不会吧,图片地址给对了都会显示的。。。

      3年前回复
  • https://secure.gravatar.com/avatar/6f13b2f6ad763d13685de66df41edb0f?s=80&d=mm&r=x
    威廉
    TheWorld Browser TheWorld Browser Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.79 Safari/535.11 QIHU THEWORLD

    什么情况不能使用了

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 48.0.2564.109 Google Chrome 48.0.2564.109 Windows 10 x64 Edition Windows 10 x64 Edition
      Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36

      刚才在修bug。。。动了动文件。。。可能影响到了。。。现在调完了

      3年前回复
  • https://secure.gravatar.com/avatar/166afae0dc7ed1e227486ebb7e3bcbce?s=80&d=mm&r=x
    Google Chrome 48.0.2564.103 Google Chrome 48.0.2564.103 Windows 10 Windows 10
    Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.103 Safari/537.36

    恭喜你这个快普及了……我的群有人开始用了……

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 48.0.2564.109 Google Chrome 48.0.2564.109 Windows 10 x64 Edition Windows 10 x64 Edition
      Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36

      估计过几天我服务器都要撑不住了,QQ自定义分享站昨天一天pv量一万多。。。

      3年前回复
      • https://secure.gravatar.com/avatar/166afae0dc7ed1e227486ebb7e3bcbce?s=80&d=mm&r=x
        Google Chrome 42.0.2311.111 Google Chrome 42.0.2311.111 GNU/Linux x64 GNU/Linux x64
        Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Safari/537.36

        要不源码给我我也建一个?笑
        顺便一提,手机端回复不了

        3年前回复
        • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
          晨旭博主
          Google Chrome 48.0.2564.95 Google Chrome 48.0.2564.95 Android 4.4.4 Android 4.4.4
          Mozilla/5.0 (Linux; Android 4.4.4; OPPO R7 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.95 Mobile Safari/537.36

          想多了我是不会给的233333

          3年前回复
          • https://secure.gravatar.com/avatar/166afae0dc7ed1e227486ebb7e3bcbce?s=80&d=mm&r=x
            Google Chrome 42.0.2311.111 Google Chrome 42.0.2311.111 GNU/Linux x64 GNU/Linux x64
            Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Safari/537.36

            激起我的斗志了呢,那请教一个问题。。。超长的连接是不是用了加密。。。

            3年前回复
            • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
              晨旭博主
              Google Chrome 48.0.2564.109 Google Chrome 48.0.2564.109 Windows 10 x64 Edition Windows 10 x64 Edition
              Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36

              反正我都是各种base64转码
              长链接有点特殊吧,有个算法转换的

              3年前回复
  • https://secure.gravatar.com/avatar/166afae0dc7ed1e227486ebb7e3bcbce?s=80&d=mm&r=x
    Google Chrome 42.0.2311.111 Google Chrome 42.0.2311.111 GNU/Linux x64 GNU/Linux x64
    Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.111 Safari/537.36

    大概知道原理了,笑

    3年前回复
  • https://secure.gravatar.com/avatar/166afae0dc7ed1e227486ebb7e3bcbce?s=80&d=mm&r=x
    Google Chrome 48.0.2564.116 Google Chrome 48.0.2564.116 Windows 10 Windows 10
    Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

    我做好了,笑,来看看如何?https://www.bysb.net/1957.html

    3年前回复
  • https://secure.gravatar.com/avatar/0e8f572e7e6b6a827925acd16d2e75ea?s=80&d=mm&r=x
    Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

    我也做好了 hhhhhhhhhhh http://www.neet.online/share/

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 48.0.2564.95 Google Chrome 48.0.2564.95 Android 4.4.4 Android 4.4.4
      Mozilla/5.0 (Linux; Android 4.4.4; OPPO R7 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.95 Mobile Safari/537.36

      泥萌都是坏淫!qwq

      3年前回复
  • https://secure.gravatar.com/avatar/166afae0dc7ed1e227486ebb7e3bcbce?s=80&d=mm&r=x
    Google Chrome 48.0.2564.116 Google Chrome 48.0.2564.116 Windows 10 Windows 10
    Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

    前端效果好赞QAQ
    没有https好方便QAQ
    使劲写数据库真的没问题?

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 48.0.2564.95 Google Chrome 48.0.2564.95 Android 4.4.4 Android 4.4.4
      Mozilla/5.0 (Linux; Android 4.4.4; OPPO R7 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.95 Mobile Safari/537.36

      本工具完全没有用到数据库诶*罒▽罒*
      现在我担心的只有哗哗跑的流量Orz

      3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 48.0.2564.95 Google Chrome 48.0.2564.95 Android 4.4.4 Android 4.4.4
      Mozilla/5.0 (Linux; Android 4.4.4; OPPO R7 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.95 Mobile Safari/537.36

      诶不对你不是手柄吗(~_~;)

      3年前回复
  • https://secure.gravatar.com/avatar/0e8f572e7e6b6a827925acd16d2e75ea?s=80&d=mm&r=x
    Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

    没关系。
    只有在生成页面的时候才会读写1次数据库。
    俺的那个数据库每秒不超过100次读写就没有问题。
    如果每秒超过100次那就太可怕了。QAQ ..

    3年前回复
  • https://secure.gravatar.com/avatar/166afae0dc7ed1e227486ebb7e3bcbce?s=80&d=mm&r=x
    Google Chrome 48.0.2564.116 Google Chrome 48.0.2564.116 Windows 10 Windows 10
    Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

    回复错人了……

    3年前回复
  • https://secure.gravatar.com/avatar/5e7b263bcef79d323e1ca98d591a3567?s=80&d=mm&r=x
    没名字的笨蛋
    Google Chrome 47.0.2526.106 Google Chrome 47.0.2526.106 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36

    分享时群里显示的是url啊,并不是分享界面

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 48.0.2564.109 Google Chrome 48.0.2564.109 Windows 10 x64 Edition Windows 10 x64 Edition
      Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36

      建议先发给好友再转发到群中!以便提高制作成功率!
      不看的吗

      3年前回复
  • https://secure.gravatar.com/avatar/0e8f572e7e6b6a827925acd16d2e75ea?s=80&d=mm&r=x
    Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

    看了一下源码,你的数据库账户跟密码都让别人看见真的没问题么?
    顺便一提,腾讯云的云数据库要比阿里云的便宜,而且IO跟连接数要高一点。

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 49.0.2623.75 Google Chrome 49.0.2623.75 Windows 7 x64 Edition Windows 7 x64 Edition
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36

      数据库无所谓了。。。反正不用。。。已改

      3年前回复
  • https://secure.gravatar.com/avatar/0e8f572e7e6b6a827925acd16d2e75ea?s=80&d=mm&r=x
    Google Chrome 45.0.2454.101 Google Chrome 45.0.2454.101 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

    贴图库好像换域名了,把COM改成CN就能正常显示了。

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 49.0.2623.75 Google Chrome 49.0.2623.75 Windows 7 x64 Edition Windows 7 x64 Edition
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36

      知道了。。。

      3年前回复
  • https://secure.gravatar.com/avatar/594d0a72580a431e09f3866fcc6932a0?s=80&d=mm&r=x
    Firefox 45.0 Firefox 45.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0

    援助交际 …… 囧

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 49.0.2623.112 Google Chrome 49.0.2623.112 Windows 7 x64 Edition Windows 7 x64 Edition
      Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36

      诶你做过?

      3年前回复
  • https://secure.gravatar.com/avatar/8920ccc0e3a11f2a51d25ca613cf6395?s=80&d=mm&r=x
    kakinuma
    Safari 9.0 Safari 9.0 Mac OS X  10.11 Mac OS X 10.11
    Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56

    果真还有人做了orz,以前我自己做了个群女装……

    3年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Firefox 46.0 Firefox 46.0 Windows 7 x64 Edition Windows 7 x64 Edition
      Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0

      这都多早以前的东西了。。。。。。以前我都是手动建一个页面的。。。

      3年前回复
  • https://secure.gravatar.com/avatar/cf2663d7e6b79805988d1d0da4a40c5a?s=80&d=mm&r=x
    YuangF
    Firefox 47.0 Firefox 47.0 Windows 10 x64 Edition Windows 10 x64 Edition
    Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0

    下载了你的源码 ,分享之后不能用。。你是怎么跳转的?
    我把源码里的http://qqshare.papapoi.com/ 换成自己的就没用了 404

    2年前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Google Chrome 53.0.2774.3 Google Chrome 53.0.2774.3 Windows 10 x64 Edition Windows 10 x64 Edition
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2774.3 Safari/537.36

      自己研究啊= =关键代码就那几句话。。。另外那程序挺老的了。。建议自己把核心代码抠出来然后自己写一遍。。

      2年前回复
  • https://secure.gravatar.com/avatar/a931156eb46246b29fa845bdc6383036?s=80&d=mm&r=x
    23333
    Google Chrome 67.0.3396.99 Google Chrome 67.0.3396.99 Windows 10 x64 Edition Windows 10 x64 Edition
    Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

    这工具怎么没了!我还想用呢!

    5月前回复
    • https://secure.gravatar.com/avatar/b431bf781498d1fe47f732913dce394c?s=80&d=mm&r=x
      晨旭博主
      Vivaldi 1.97.1230.3 Vivaldi 1.97.1230.3 Windows 10 x64 Edition Windows 10 x64 Edition
      Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.102 Safari/537.36 Vivaldi/1.97.1230.3

      玩的人太多腾讯把我标记成危险网站了,所以关了

      5月前回复

晨旭的博客~

自定义qq分享工具
使用有问题请尝试下面两个人仿制的工具:手柄君:https://www.bysb.net/1957.htmlNEET:http://www.neet.online/share/如果用上面那俩还是没解决问题,请在此留言~程序已开源:https://git…
扫描二维码继续阅读
2016-02-15