Javascript twitter sharer button?

hello all

I need to found an easy way to share a page on twitter… I put all the OG’s descriptions in the head of my page but i don’t want to use the normal twitter share button, in fact i’m searching for a javascript function method to put on a hype button.

can someone help me to find a way to succeed ?

thanks !!

f e w

Here’s how to do that:

No JS required. You can encode a URL here:

thanks Daniel…

sounds very useful…

but I made a custom SVG twitter logo… how to link it to the encode twitter intent ?

in fact i don’t need the regular tweet button

thanks !