Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

maximum length of bit.ly generated url, "http" and everything included

Tags:

url

bit.ly

full explanation:

I'm working on a project to generate twitter links that post over to twitter. My problem is twitter doesn't shorten the text correctly, and asks the user to fix the text. So I'm going to have javascript shorten the text to the maximum allowed without the extra being cut off by the user or twitter.

like image 774
Agile Noob Avatar asked Nov 22 '25 16:11

Agile Noob


1 Answers

That's an unknown number because bitly will add characters as the namespace runs out. So it might be 21 today but 22 in a year. You may need to create the bitly links yourself before posting to Twitter.

like image 107
Talljoe Avatar answered Nov 24 '25 09:11

Talljoe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!