I've noticed that for certain profiles, the number of tweets count is
incorrect when you request a profile with include_entities=true

Is this a bug in the API or should I expect the counts to be
different?

I've included examples of the two responses below. Regularly, the API
returns statuses_count: 9729 (which matches the count on twitter.com)
but when include_entities=true it returns statuses_count: 3468



http://api.twitter.com/1/users/show.json?screen_name=chronic
{
following: false
profile_background_image_url: "http://a3.twimg.com/a/1296685920/images/
themes/theme1/bg.png"
url: null
follow_request_sent: false
profile_image_url: "http://a2.twimg.com/profile_images/1236726056/
image_normal.jpg"
description: "Hacker and entrepreneur with a knack for being awesome.
Opinions do not represent that of any of my past/current affiliations
(both informal and professional)."
-status: {
text: "RT @sacca: The initial use case for a product should be no more
complex than "press play"."
favorited: false
geo: null
retweet_count: 24
in_reply_to_screen_name: null
in_reply_to_status_id_str: null
id_str: "35072667912507392"
source: "<a href="http://itunes.apple.com/us/app/twitter/id409789998?
mt=12" rel="nofollow">Twitter for Mac</a>"
contributors: null
coordinates: null
retweeted: false
in_reply_to_status_id: null
created_at: "Tue Feb 08 20:29:10 +0000 2011"
in_reply_to_user_id_str: null
place: null
-retweeted_status: {
text: "The initial use case for a product should be no more complex
than "press play"."
favorited: false
-geo: {
type: "Point"
-coordinates: [
39.3400411
-120.21027791
]
}
retweet_count: 24
in_reply_to_screen_name: null
in_reply_to_status_id_str: null
id_str: "35062912955449344"
source: "<a href="http://twitter.com/"; rel="nofollow">Twitter for
iPhone</a>"
contributors: null
-coordinates: {
type: "Point"
-coordinates: [
-120.21027791
39.3400411
]
}
retweeted: false
in_reply_to_status_id: null
created_at: "Tue Feb 08 19:50:24 +0000 2011"
in_reply_to_user_id_str: null
-place: {
url: "http://api.twitter.com/1/geo/id/213d0db04acb674d.json";
country: "United States"
attributes: { }
-bounding_box: {
type: "Polygon"
-coordinates: [
-[
-[
-120.301592
39.31637
]
-[
-120.077464
39.31637
]
-[
-120.077464
39.387325
]
-[
-120.301592
39.387325
]
]
]
}
name: "Truckee"
full_name: "Truckee, CA"
country_code: "US"
id: "213d0db04acb674d"
place_type: "city"
}
id: 35062912955449344
in_reply_to_user_id: null
truncated: false
}
id: 35072667912507390
in_reply_to_user_id: null
truncated: false
}
show_all_inline_media: false
geo_enabled: false
time_zone: "Eastern Time (US & Canada)"
friends_count: 406
profile_text_color: "333333"
location: "East Coast"
statuses_count: 9729
notifications: false
profile_sidebar_fill_color: "DDEEF6"
screen_name: "chronic"
id_str: "86315276"
profile_background_tile: false
listed_count: 650
created_at: "Fri Oct 30 13:45:12 +0000 2009"
contributors_enabled: false
profile_link_color: "0084B4"
followers_count: 13364
verified: false
favourites_count: 116
profile_sidebar_border_color: "C0DEED"
protected: false
lang: "en"
name: "chronic"
is_translator: false
profile_use_background_image: true
id: 86315276
utc_offset: -18000
profile_background_color: "C0DEED"
}


http://api.twitter.com/1/users/show.json?screen_name=chronic&include_entities=true
{
follow_request_sent: false
following: false
favourites_count: 83
profile_background_color: "C0DEED"
url: null
verified: false
profile_background_image_url: "http://a3.twimg.com/a/1296685920/images/
themes/theme1/bg.png"
friends_count: 396
description: "Hacker and entrepreneur with a knack for being awesome.
Opinions do not represent that of any of my past/current affiliations
(both informal and professional)."
-status: {
in_reply_to_status_id_str: null
text: "RT @comex: Only thing: "1984" was an advertisement for a
revolutionary product. This is an advertisement for an imitation of a
revoluti ..."
contributors: null
coordinates: null
retweeted: false
in_reply_to_user_id_str: null
in_reply_to_status_id: null
-retweeted_status: {
in_reply_to_status_id_str: null
text: "Only thing: "1984" was an advertisement for a revolutionary
product. This is an advertisement for an imitation of a revolutionary
product."
contributors: null
coordinates: null
retweeted: false
in_reply_to_user_id_str: null
in_reply_to_status_id: null
source: "web"
id_str: "34411556263436288"
-entities: {
hashtags: [ ]
urls: [ ]
user_mentions: [ ]
}
created_at: "Mon Feb 07 00:42:09 +0000 2011"
place: null
retweet_count: 41
truncated: false
favorited: false
geo: null
in_reply_to_user_id: null
id: 34411556263436290
in_reply_to_screen_name: null
}
source: "<a href="http://twitter.com/"; rel="nofollow">Twitter for
iPhone</a>"
id_str: "34411991363751936"
-entities: {
hashtags: [ ]
urls: [ ]
-user_mentions: [
-{
-indices: [
3
9
]
id_str: "14550962"
name: "comex"
screen_name: "comex"
id: 14550962
}
]
}
created_at: "Mon Feb 07 00:43:52 +0000 2011"
place: null
retweet_count: 41
truncated: true
favorited: false
geo: null
in_reply_to_user_id: null
id: 34411991363751936
in_reply_to_screen_name: null
}
location: "East Coast"
time_zone: "Eastern Time (US & Canada)"
profile_text_color: "333333"
listed_count: 645
profile_sidebar_fill_color: "DDEEF6"
id_str: "86315276"
profile_background_tile: false
created_at: "Fri Oct 30 13:45:12 +0000 2009"
profile_image_url: "http://a2.twimg.com/profile_images/1236726056/
image_normal.jpg"
show_all_inline_media: false
contributors_enabled: false
geo_enabled: false
profile_link_color: "0084B4"
protected: false
is_translator: false
lang: "en"
statuses_count: 3468
profile_sidebar_border_color: "C0DEED"
screen_name: "chronic"
name: "chronic"
id: 86315276
notifications: false
profile_use_background_image: true
utc_offset: -18000
followers_count: 13259
}

-- 
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

Reply via email to