如何使用 bitly 一次缩短多个 url。我正在为单个 url 使用以下 API
https://api-ssl.bitly.com/shorten?access_token=MyAccessToekn&longUrl=http://www.google.com
有没有办法为多个网址获取它。我搜索了他们的 API 文档,但在网上找不到任何有用的信息。感谢您的帮助。
最佳答案
他们的“best practices”给出了提示
Batch Processing: The bitly API does not support shortening more than one long URL with a single API call. However, up to 15 URLs can be handled in one API call using the
/v3/lookup
,/v3/expand
and/v3/clicks
endpoints.
关于ios - 使用 bitly 一次缩短多个网址,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31670793/