Client API - Twitter

user111222 Jun 07, 2012 05:45PM EDT

Hello,

I have a blog page that I'm attempting to put a Tweet button beneath each blog entry using the addthis_button_tweet class, and customizing it with the Client API.

Here's the test page you can view:
http://www.jeffprobst.com/addthis_test.html

Here's a sample Twitter button on the page:
<a class='addthis_button_tweet tw:url="http://prb.st/LF8mo5" tw:text="A New Beginning" tw:via="ProbstTalk"'></a>

When I click on the button, it is not using any of my tw: values.

Thank you for your assistance,
Mike

1 Community Answers

Paul Jun 08, 2012 04:17PM EDT

It looks like you use a single quote to enclose the first attribute value and then a double quote at the end. So your values are getting ignored. Try using this code:

<a class="addthis_button_tweet tw:url="http://prb.st/LF8mo5" tw:text="A New Beginning" tw:via="ProbstTalk"></a>


This question is closed to new answers.

Still need help?


General Topics

 

Developers