Unfortunately, Twitter's API does not automatically convert to the short link like it does if you do a manual post - It's always going to truncate a link like this because there are not any spaces in a URL.

We suggest using a link shortener for your link.

Did this answer your question?