Help with tweet button

I cant seem to get my tweet button to work here is my code pen please check it out

You are sending raw object on tweet button click, so it should be like ::
$('#a').attr('href', ''
                + encodeURIComponent('"' + post.content + '"' ));

You cannot send post variable because it is an object. Not quite sure how
tweeter handle data you send, but if you can send it in JSON format
then use ::
That will send whole object in JSON format as a string. Experiment ! :slight_smile: