[英]how to make short url when retweet in gem twitter rails
I tried this gem: https://github.com/intridea/tweet-button for retweeting articles from my app. 我尝试了以下工具: https : //github.com/intridea/tweet-button,用于转发我应用程序中的文章。 How can I change this url to the short url? 如何将此网址更改为短网址?
Thanks. 谢谢。
You can use bitly
gem for URL shortening, link to the gem is 您可以使用一bitly
宝石来缩短网址,链接到宝石是
https://github.com/philnash/bitly https://github.com/philnash/bitly
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.