Random Quote Machine - Twitter Button Help


Hey all,

I don’t know what’s wrong with me. I’ve just had a block and I can’t seem to understand the most efficient way to get a twitter button to work where it Tweets out the quote. Don’t mind the style, it’s not done yet, any help would be greatly appreciated.


Hello there. add some javascript or jquery(whatever works for you) to the twitter intent. You can refer to the pic and make your own modifications. Hope this helps


Thank you! I don’t know why but for some reason my brain kept thinking that the best way to accomplish this was to try and take the information directly from the getQuote function rather than just taking it from the html after the getQuote function inserts it.


:smiley::smiley: Most welcome fellow camper!! Happy Coding!!