新浪微博短网址API接口

API地址:https://www.2dan.cc/labs/short.php

参数说明

type:处理方式,1表示原地址缩短为新浪微博短地址;2表示将新浪短地址还原成原地址。
url:链接地址,根据上面的type方式url为相应的地址。

演示地址

长转短:https://www.2dan.cc/labs/short.php?type=1&url=http://www.2dan.cc
短转长:https://www.2dan.cc/labs/short.php?type=2&url=http://t.cn/hdptQe

标签:微博, api,

添加新评论