ios - 使用 bitly 一次缩短多个网址

标签 ios url-shortener

如何使用 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/

相关文章:

ios - UIImage 动画使设备崩溃

ios - 如何查看 iPhone 的 IPv6 地址

ios - 使用 Xcode 10.3 构建时,NSAttributedString 在 iOS 13 上不可见

ios - 如何在 JSON 中制作字典字典?

iphone - itun.es URL 缩短语法

java - 在 Android 中解决缩短的 url

firebase - 如果 url 包含 '#',如何使用 google firebase 动态链接缩短 url

ios - iPad - 从前置摄像头拍照并识别驾照

node.js - Firebase 的云函数 : 'Error: could not handle the request'

algorithm - 当我只能使用数据库 ID 时,为什么要对 URL 缩短器使用长算法