Iâm using the nodejs twitter npm for making authenticated calls to twitter.
The call im making is âstatuses/user_timelineâ which gives me the following json object
[{âcreated_atâ:âWed Oct 05 10:57:04 +0000 2016â,
âidâ:783622026544107500,
âid_strâ:â783622026544107521â,
âtextâ:âPS. Most of y tweets are meant for testing purposes only!\n\n#nohashtags #testingâ,
âtruncatedâ:false,
âentitiesâ:{âhashtagsâ:[{âtextâ:ânohashtagsâ,
âindicesâ:[59,70]},
{âtextâ:âtestingâ,âindicesâ:[71,79]}],
âsymbolsâ:[],âuser_mentionsâ:[],
âurlsâ:[]},
âsourceâ:"<a href=âhttp://twitter.comâ rel=ânofollowâ>Twitter Web Client",
â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â:{âidâ:68600,
âid_strâ:â68576â,
ânameâ:âmelinda threezaâ,
âscreen_nameâ:âmelTvazâ,
âlocationâ:âPanaji, Indiaâ,
âdescriptionâ:"",
âurlâ:null,
âentitiesâ:{âdescriptionâ:{âurlsâ:]}},
âprotectedâ:false,
âfollowers_countâ:0,
âfriends_countâ:15,
âlisted_countâ:0,
âcreated_atâ:âMon Aug 29 10:00:14 +0000 2016â,
âfavourites_countâ:5,
âgeo_enabledâ:false,
âverifiedâ:false,
âstatuses_countâ:10,
âlangâ:âenâ,
âcontributors_enabledâ:false,
âis_translatorâ:false,
âis_translation_enabledâ:false,
âhas_extended_profileâ:false,
âdefault_profileâ:true,
âdefault_profile_imageâ:true,
âfollowingâ:false,
âfollow_request_sentâ:false,
ânotificationsâ:false},
âgeoâ:null,
âcoordinatesâ:null,
âplaceâ:null,
âcontributorsâ:null,
âis_quote_statusâ:false,
âretweet_countâ:0,
âfavorite_countâ:1,
âfavoritedâ:true,
âretweetedâ:false,
âlangâ:âenâ}]
The favourites_count is correct. The âretweet_countâ however comes in as 0 for all tweets.
Using âstatuses/show/783622026544107521â to retrieve a single tweet object still gives me retweet_couint as 0
{âcreated_atâ:âWed Oct 05 10:57:04 +0000 2016â,
âidâ:783622026544107500,
âid_strâ:â783622026544107521â,
âtextâ:âPS. Most of y tweets are meant for testing purposes only!\n\n#nohashtags #testingâ,
âtruncatedâ:false,
âentitiesâ:{âhashtagsâ:[{âtextâ:ânohashtagsâ,âindicesâ:[59,70]},{âtextâ:âtestingâ,âindicesâ:[71,79]}],âsymbolsâ:[],âuser_mentionsâ:[],âurlsâ:[]},
âsourceâ:"<a href=âhttp://twitter.comâ rel=ânofollowâ>Twitter Web Client",
â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â:{âidâ:68600,âid_strâ:â68576â,
ânameâ:âmelinda threezaâ,
âscreen_nameâ:âmelTvazâ,
âlocationâ:âPanaji, Indiaâ,âdescriptionâ:"",
âurlâ:null,âentitiesâ:{âdescriptionâ:{âurlsâ:[]}},
âprotectedâ:false,
âfollowers_countâ:0,
âfriends_countâ:15,
âlisted_countâ:0,
âcreated_atâ:âMon Aug 29 10:00:14 +0000 2016â,
âfavourites_countâ:5,
âutc_offsetâ:null,
âtime_zoneâ:null,
âgeo_enabledâ:false,
âverifiedâ:false,
âstatuses_countâ:10,
âlangâ:âenâ,
âcontributors_enabledâ:false,
âhas_extended_profileâ:false,
âdefault_profileâ:true,
âdefault_profile_imageâ:true,
âfollowingâ:false,
âfollow_request_sentâ:false,
ânotificationsâ:false},
âcontributorsâ:null,
âis_quote_statusâ:false,
âretweet_countâ:0,
âfavorite_countâ:1,
âfavoritedâ:true,
âretweetedâ:false,âlangâ:âenâ}
the retweet_count value seems to be showing 0 in all cases.