Hi.
Trying to get my tweet button to tweet the current quote.
The tweet box appears but the message is only the Codepen link
not the current tweet.
David
Hi.
Trying to get my tweet button to tweet the current quote.
The tweet box appears but the message is only the Codepen link
not the current tweet.
David
Where do you set currentQuote
and currentAuthor
?
I found that using the twitter widget.js stopped any changes I tried to make to my tweet button. I found the culprit to be my anchor tag class of twitter-share-button. Once I removed that class i found I was able to modify its attributes with javascript. However, I had to make my own button from scratch.
Thats all I have to offer. Good luck!