2 ms·
Look at [1]. They suggest using this: <a href="https://twitter.com/share" https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a> I g
by yoha 13y ago
Look at [1]. They suggest using this:
<a href="https://twitter.com/share" https://twitter.com/share" class="twitter-share-button" data-lang="en">Tweet</a>
I guess it relies on the HTTP referer field. You can do more resilient by adding parameters to the query string (look at the table at the third of the webpage).
It means that the user gets redirected to the website with pre-filled forms. It avoids loading additional Javascript.
[1] https://dev.twitter.com/docs/tweet-button https://dev.twitter.com/docs/tweet-button