Posting a link with API doesn't redistrict it to 22 character limit




If you submit links through the gui, I find that the default a max of 22 characters taken is met. However when I use the API to post a tweet with this link the link takes its full length, which usually 100 characters. In both cases my links have https://. Anyone have a solution to this problem?


This seems like a bug: Not recommended in production but you could try to add whitespaces at the end of the url and have Twitter trim the end of the Tweet to see if that works.


Do you have an example text and the resulting tweet with an unshortened URL for us to look at?