new tweet button

oryowen Jun 20, 2012 05:09PM EDT

Hi!

I'm using AddThis on my site and I have a quick question regarding the new Twitter button (the one with the most recent logo update).

I have some javascript that specifies a few variables, i.e. :
<script type="text/javascript">
var twitter_quotes = ["I'm a big fan of", "Loving", "I just discovered", "Just read"];
var prefix = twitter_quotes[Math.floor(Math.random() * twitter_quotes.length)];
var addthis_share = {
templates: {
twitter: prefix + ' @oryalexander\'s \"{{title}}\", check it out at {{url}}'
},
url_transforms : {
shorten: {
twitter: 'bitly',
},
},
shorteners : {
bitly : {
login: 'XXXXXXXX',
apiKey: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXX'
}
}
}
</script>

When this script is in place, the old Tweet button appears on my site (can be seen at http://http://oryowen.com/post/2012-06-19-song-of-the-week-dark-paradise-demo-by-lana-del-rey/#.T-I63HCqqZq). However, if I remove that piece of javascript, the new correct Tweet button appears. I would like to be up to date and have the latest buttons on my site. Any help or guidance?!

Thanks!

Up 0 Rated Down
Paul (AddThis Happiness Specialist) Jun 25, 2012 02:48PM EDT
The new Tweet button is showing up for me. Have you tried clearing your cache?

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Still need help?


General Topics

 

Developers