[twitter-dev] Re: Return number of tweets for an account

2011-01-13 Thread David
Hi Ciprian,

The number of tweets is listed in the statuses_count field for the user. You 
can access this by hitting the /users/show endpoint of the API.

For example:

http://api.twitter.com/1/users/show.json?screen_name=dtran320

Then look at the 'statuses_count' parameter.

Best,
David 

-- 
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: 
http://groups.google.com/group/twitter-development-talk


[twitter-dev] Re: Return number of tweets for an account

2011-01-13 Thread @epc
On Jan 13, 11:06 pm, David dtran...@gmail.com wrote:
 The number of tweets is listed in the statuses_count field for the user. You
 can access this by hitting the /users/show endpoint of the API.

Note that that only counts tweets still in twitter’s database.  If a
user deletes a tweet, the count will go down.
If I tweet 1000 times and then delete 999 tweets, my tweet count will
read 1.

--
-ed costello

-- 
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: 
http://groups.google.com/group/twitter-development-talk