[Tweet Button] What is Twitter'url for sharing?


#1

I read Tweet Button document at: https://dev.twitter.com/docs/tweet-button,
There are two ways for sharing my website to Twitter page using js:

#1: <a href="https://twitter.com/SHARE" ..... use data-attribute: eg: data-url ="MY URL" #2: <a href="https://twitter.com/intent/TWEET? ... use params: eg: &url=my_url </html> <p>And what should I use way above?, currenty, Twitter counter not working on my site.</p> <p>Thanks,<br> Phan Thanh Nhuan</p>

#2