Tweet button without javascript?



for compatibility reasons i can’t use javascript in my website.
So i’m wondering if i can create a dynamic link with server-side scripts and create an HTTP request to send Tweets from my website.

Something like this:

<div id="custom-tweet-button">
    <a href="" target="_blank"> Tweet </a>

is this accepted? is it a term of use violation or something similar?

Thanks in advance


Instead of using the /share URL path, you should use the tweet web intent path like – there’s no problem with you opening these links in a new window like that – it’s a use case we explicitly support.


I made a CSS-only version of the official Twitter button that looks exactly the same. See