On Feb 27, 11:26 am, Mr Blog <mrblogdot...@gmail.com> wrote:
> We cannot get the official Tweet Button to count tweets - it always
> shows zero.
> Here's an example page:
> http://140plus.com/question/why-do-i-need-nosql-mongodb-cassandra-cou...
> And the code for the button is:
> <a href="http://twitter.com/share"; class="twitter-share-button"
>       data-url="http://140-pl.us/8Tyz1";
>       data-counturl="http://140plus.com/question/why-do-i-need-nosql-
> mongodb-cassandra-couchdb-etc-if-i-have-lucene-or-solr/8Tyz1"
>       data-via="mrblog"
>       data-text="Why do I need NoSQL (MongoDB, Cassandra, CouchDB,
> etc) if I have Lucene (or Solr)?">Tweet</a>
> The idea is we want to tweet our custom shortened URL specified by the
> data-url attributehttp://140-pl.us/8Tyz1that redirects to
> Location:http://140plus.com/question/why-do-i-need-nosql-mongodb-cassandra-cou...
> And that's the url we want to count, as specified by data-counturl
> attribute shown above.
> However, the count stays zero.  Here are two tweets of the URL:
> http://twitter.com/patriottweakers/status/40123917301456896http://twitter.com/unclefisty/status/40123256140873728
> Yet the counter on the tweet button stays at zero.  What am I doing
> wrong?
> I note that calling the API with the dataurl URL gives:
> {"count":0,"url":"http://140plus.com/question/why-do-i-need-nosql-
> mongodb-cassandra-couchdb-etc-if-i-have-lucene-or-solr/8Tyz1/"}
> Note the URL shown in the result has the "/" appended, even though the
> URL being passed to the counter API did NOT have the trailing "/" and
> the url being linked to does NOT have a trailing "/" - not sure if
> that matters.

Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 

Reply via email to