Reply_count & quote_count not available in statuses/lookup answer

documentation
api

#1

Hi,

I’m trying to retrieve reply_count & quote_count by querying statuses/lookup, but these fields are not available within the API answer.

For example, I’m searching for this tweet: https://twitter.com/ShadyRecords/status/918560564976242689 which has 659 replies when I’m writing this question.

When performing a https://api.twitter.com/1.1/statuses/lookup.json with id=918560564976242689, I get the following tweet object:

{
   "created_at":"Thu Oct 12 19:34:39 +0000 2017",
   "id":918560564976242689,
   "id_str":"918560564976242689",
   "text":"\"Boogie is everything I look for in an MC\" - Eminem.  Learn more about our new signing @WS_Boogie.\u2026 https:\/\/t.co\/6KyujOEais",
   "truncated":true,
   "entities":{
      "hashtags":[],
      "symbols":[],
      "user_mentions":[...],
      "urls":[...]
   },
   "source":"\u003ca href=\"http:\/\/twitter.com\" rel=\"nofollow\"\u003eTwitter Web Client\u003c\/a\u003e",
   "in_reply_to_status_id":null,
   "in_reply_to_status_id_str":null,
   "in_reply_to_user_id":null,
   "in_reply_to_user_id_str":null,
   "in_reply_to_screen_name":null,
   "user":{...},
      "protected":false,
      "followers_count":200276,
      "friends_count":431,
      "listed_count":601,
      "created_at":"Fri Apr 01 17:34:38 +0000 2011",
      "favourites_count":1,
      "utc_offset":null,
      "time_zone":null,
      "geo_enabled":false,
      "verified":true,
      "statuses_count":1111,
      "lang":"en",
      "contributors_enabled":false,
      "is_translator":false,
      "is_translation_enabled":false,
      "profile_background_color":"000000",
      "profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/782262768\/1e98fb8efb16d40490d590863a4a6131.jpeg",
      "profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/782262768\/1e98fb8efb16d40490d590863a4a6131.jpeg",
      "profile_background_tile":true,
      "profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/3208589694\/d311c45d4b73779995f78415ae3ad297_normal.png",
      "profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/3208589694\/d311c45d4b73779995f78415ae3ad297_normal.png",
      "profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/275631775\/1432135748",
      "profile_link_color":"B22B2F",
      "profile_sidebar_border_color":"000000",
      "profile_sidebar_fill_color":"DDEEF6",
      "profile_text_color":"333333",
      "profile_use_background_image":true,
      "has_extended_profile":false,
      "default_profile":false,
      "default_profile_image":false,
      "following":false,
      "follow_request_sent":false,
      "notifications":false,
      "translator_type":"none"
   },
   "geo":null,
   "coordinates":null,
   "place":null,
   "contributors":null,
   "is_quote_status":false,
   "retweet_count":1218,
   "favorite_count":5189,
   "favorited":false,
   "retweeted":false,
   "possibly_sensitive":false,
   "possibly_sensitive_appealable":false,
   "lang":"en"
}

unlike tweet object described here: https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/tweet-object, this tweet object doesn’t inlcude reply_count & quote_count.

Is there an additional parameter to add to see the reply_count & quote_count?

Thank you,
Dan


#3

Hi @dankimche this is an excellent question, and it highlights a discrepancy (aka error) in our documentation! For historical reasons, reply_count and quoted_count are not available on the standard Tweet lookup APIs, but favorite_count and retweet_count are available. The additional two fields are served in our enterprise APIs. I’m not aware of plans for them to be present in all endpoints at the moment, but keep an eye on our roadmap as we move forward.

This was an error that was introduced as a result of our recent merger of the Twitter and Gnip support sites and we apologise for the confusion caused here.

One additional point is that as this Tweet has truncated: true you’ll want to retrieve it using the tweet_mode=extended parameter to see the full text and additional extended entity objects.


#4

Hi @andypiper
Thank you very much for your quick answer.
Too bad that these metric must be paid for, unfortunately, we won’t be able to get budget for that.
We are already using the tweet_mode=extended, this was just a quick example.
Thank you,
Dan


#5

I certainly can understand your disappointment - apologies again for the confusion this introduced.


Reply count and Quote Count
#6

This is so disappointing. They seem like very basic (and public) tweet metrics, I don’t see the point of keeping them for enterprise APIs only.


#7