I’m trying like heck to have a twitter button to share a random quote for an FCC.org project. I want to create a random quote and be able to send it to twitter.
Here’s the html:
Tweet
Here’s the call:
$("#tweetIt").attr(“href”, "https://twitter.com/home?status="+encodeURI(myQuote+"- "+myQuoter));
IF i don’t use twitter-share-button, I lose the tweet button look, but the code works. If I add twitter-share-button, I get the tweet button look, but all that process to twitter is the url of my site. Not the string content of myQuote…myQuoter.
ANY help is must appreciated! This is maddening.