是否有可能从Twitter的API缩短网址是什么? [英] Is it possible to shorten url from Twitter API?
问题描述
有没有办法让从API缩短t.co网址是什么?
我需要通过API发布的tweet之前短的URL。我应该怎么做
这个?这是由Twitter API支持,或者我必须使用一些其他
URL缩短像bit.ly?
Is there a way to get the shortened t.co url from the API? I need to shorted a url before posting tweet via API. How should I do this? Is this supported by Twitter API or do I have to use some other url shortener like bit.ly?
推荐答案
这是不可能缩短使用t.co通过比通过Twitter发送状态更新或直接邮件的其他任何方式的联系。从 Twitter的支持网站:
It isn't possible to shorten links using t.co through any means other than sending status updates or direct messages via Twitter. From the Twitter support site:
在 http://t.co 链接服务只用于在Twitter上发布链接,并不能作为一般的缩短服务。
The link service at http://t.co is only used on links posted on Twitter and is not available as a general shortening service.
所以,是的,你需要使用一些其他的缩短服务。
So, yes, you'll need to use some other shortening service.
这篇关于是否有可能从Twitter的API缩短网址是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!