I want to use the twitter buttons so they appear like the ones on this page: https://twitter.com/about/resources/buttons#tweet. I need the look, and the count feature. I want exactly what the code below generates on a page:
<a href="https://twitter.com/share"
class="twitter-share-button"
data-url="http://bit.ly/twitter-api-announce"
data-counturl="http://groups.google.com/group/twitter-api-announce"
data-lang="en"
data-count="vertical">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
Except, I want it to go to a different link than the generated “twitter.com/intent/session?.…” I want it to go to a starting page I have set up that uses the oauth mechanism to format & send the tweet.
I’m kind of inferring that replacing the data-counturl with my content page url will let the api keep track of the count, but don’t know what the data-url attribute is supposed to represent.