[twitter-dev] Bitly/Twitter short url character set

12 views
Skip to first unread message

Alexander Sicular

unread,
Apr 19, 2010, 10:52:06 AM4/19/10
to twitter-deve...@googlegroups.com
Hi All,

My question is what the allowable char set is for bitly and soon to be twitter short URLs. Are they simply [0-9][A-Z][a-z] which would make it base62 and not a true base64? Are there characters I'm not including? Will Twitter's set match bitly's character set? Please share links if you got em!

Thank you, Alexander


--
Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en

siculars

unread,
Apr 19, 2010, 12:19:53 PM4/19/10
to Twitter Development Talk
Cross post on the bit.ly group here,
http://groups.google.com/group/bitly-api/browse_thread/thread/ffbf603c9746998f
. Jehiah says it's [-_a-zA-Z0-9]+ , aka. 'base64url' encoding,
http://en.wikipedia.org/wiki/Base64#URL_applications .
Reply all
Reply to author
Forward
0 new messages