Here is my codepen http://codepen.io/Tcar/pen/XjadzB?editors=0010 . I don’t know how to display quote in twitter status box.
1 Like
You’re so nearly there!
Change 'https://twitter.com/intent/tweet?
to
'https://twitter.com/intent/tweet?text='+ json.quoteText
It should work.
yeah, with that i just tweet the first quote
I did it. a litle complicated, but here it is… $("#desni").click(function(){
var textToTweet=$(".quote").text()+ ’ -’ + $(".autor").text();
var tweetLink = 'https://twitter.com/intent/tweet?text=' + encodeURIComponent(textToTweet);
window.open(tweetLink,’_blank’);});
Now just to put a litle make up and that’s it