gpt4 book ai didi

api - 是否可以从Twitter API缩短url?

转载 作者:行者123 更新时间:2023-12-03 11:28:44 24 4
gpt4 key购买 nike

有没有办法从API获取缩短的t.co网址?
通过API发布推文之前,我需要先缩短网址。我应该怎么做
这个?这是Twitter API支持的还是我必须使用其他一些API?
像bit.ly一样的网址缩短器?

最佳答案

除了通过Twitter发送状态更新或直接发送消息外,无法通过t.co缩短任何链接。从Twitter support site:

The link service at http://t.co is only used on links posted on Twitter and is not available as a general shortening service.



因此,是的,您将需要使用其他一些缩短服务。

关于api - 是否可以从Twitter API缩短url?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5765747/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com