Weird difference between show and user_timeline function on a retweet tweet (after a favorite of this retweet)


#1

Hi,

There are some weird differences between the result from the “show” function and the “user_timeline” function, when I try to make the retweet as favorite.

The favorited information is “false” with user_timeline (but true with the show function), you can see the value null for following and notifications (false with show function)
https://api.twitter.com/1.1/statuses/user_timeline.json?count=20&screen_name=NASA
{
“created_at”: “Fri Aug 02 20:17:34 +0000 2013”,
“id”: 363393157469179900,
“id_str”: “363393157469179904”,
“text”: “RT @ISS_Research: Happy 40th anniversary #Skylab & thanks for all your work that led to current #ISS and @ISS_Research in orbit http://t.co…”,
“source”: “web”,
“truncated”: false,
“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”: 11348282,
“id_str”: “11348282”,
“name”: “NASA”,
“screen_name”: “NASA”,
“location”: “”,
“description”: “Explore the universe and discover our home planet with @NASA. We usually post in Eastern Time (UTC/GMT-5).”,
“url”: “http://t.co/IpvHUzr4tm”,
“entities”: {
“url”: {
“urls”: [
{
“url”: “http://t.co/IpvHUzr4tm”,
“expanded_url”: “http://www.nasa.gov”,
“display_url”: “nasa.gov”,
“indices”: [
0,
22
]
}
]
},
“description”: {
“urls”: []
}
},
“protected”: false,
“followers_count”: 4533332,
“friends_count”: 202,
“listed_count”: 58627,
“created_at”: “Wed Dec 19 20:20:32 +0000 2007”,
“favourites_count”: 47,
“utc_offset”: -14400,
“time_zone”: “Eastern Time (US & Canada)”,
“geo_enabled”: true,
“verified”: true,
“statuses_count”: 26541,
“lang”: “en”,
“contributors_enabled”: false,
“is_translator”: false,
“profile_background_color”: “D0E2F6”,
“profile_background_image_url”: “http://a0.twimg.com/profile_background_images/378800000011158237/de5ed2087a3232dcd778656fecbf94a2.jpeg”,
“profile_background_image_url_https”: “https://si0.twimg.com/profile_background_images/378800000011158237/de5ed2087a3232dcd778656fecbf94a2.jpeg”,
“profile_background_tile”: false,
“profile_image_url”: “http://a0.twimg.com/profile_images/188302352/nasalogo_twitter_normal.jpg”,
“profile_image_url_https”: “https://si0.twimg.com/profile_images/188302352/nasalogo_twitter_normal.jpg”,
“profile_banner_url”: “https://pbs.twimg.com/profile_banners/11348282/1375491328”,
“profile_link_color”: “55648C”,
“profile_sidebar_border_color”: “000000”,
“profile_sidebar_fill_color”: “F3F2F2”,
“profile_text_color”: “000000”,
“profile_use_background_image”: true,
“default_profile”: false,
“default_profile_image”: false,
“following”: null,
“follow_request_sent”: false,
“notifications”: null
},
“geo”: null,
“coordinates”: null,
“place”: null,
“contributors”: null,
“retweeted_status”: {
“created_at”: “Fri Aug 02 20:06:04 +0000 2013”,
“id”: 363390263160344600,
“id_str”: “363390263160344576”,
“text”: “Happy 40th anniversary #Skylab & thanks for all your work that led to current #ISS and @ISS_Research in orbit http://t.co/m2ItqDIL2i @NASA”,
“source”: “web”,
“truncated”: false,
“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”: 189253902,
“id_str”: “189253902”,
“name”: “ISS Research”,
“screen_name”: “ISS_Research”,
“location”: “ISS Program Science Office”,
“description”: “NASA’s official source for research news from the International Space Station (ISS) - The world’s laboratory in orbit.”,
“url”: “http://t.co/5zCOMHxe”,
“entities”: {
“url”: {
“urls”: [
{
“url”: “http://t.co/5zCOMHxe”,
“expanded_url”: “http://www.nasa.gov/iss-science”,
“display_url”: “nasa.gov/iss-science”,
“indices”: [
0,
20
]
}
]
},
“description”: {
“urls”: []
}
},
“protected”: false,
“followers_count”: 55669,
“friends_count”: 203,
“listed_count”: 1701,
“created_at”: “Fri Sep 10 19:48:53 +0000 2010”,
“favourites_count”: 4,
“utc_offset”: null,
“time_zone”: null,
“geo_enabled”: false,
“verified”: false,
“statuses_count”: 3361,
“lang”: “en”,
“contributors_enabled”: false,
“is_translator”: false,
“profile_background_color”: “0099B9”,
“profile_background_image_url”: “http://a0.twimg.com/profile_background_images/147139427/s117e08011.jpg”,
“profile_background_image_url_https”: “https://si0.twimg.com/profile_background_images/147139427/s117e08011.jpg”,
“profile_background_tile”: false,
“profile_image_url”: “http://a0.twimg.com/profile_images/1121191087/s117e08011_small_hsf_normal.jpg”,
“profile_image_url_https”: “https://si0.twimg.com/profile_images/1121191087/s117e08011_small_hsf_normal.jpg”,
“profile_banner_url”: “https://pbs.twimg.com/profile_banners/189253902/1357090330”,
“profile_link_color”: “0099B9”,
“profile_sidebar_border_color”: “FFFFFF”,
“profile_sidebar_fill_color”: “95E8EC”,
“profile_text_color”: “3C3940”,
“profile_use_background_image”: true,
“default_profile”: false,
“default_profile_image”: false,
“following”: null,
“follow_request_sent”: false,
“notifications”: null
},
“geo”: null,
“coordinates”: null,
“place”: null,
“contributors”: null,
“retweet_count”: 210,
“favorite_count”: 71,
“entities”: {
“hashtags”: [
{
“text”: “Skylab”,
“indices”: [
23,
30
]
},
{
“text”: “ISS”,
“indices”: [
82,
86
]
}
],
“symbols”: [],
“urls”: [
{
“url”: “http://t.co/m2ItqDIL2i”,
“expanded_url”: “http://www.nasa.gov/mission_pages/station/research/news/Skylab_is_40/#.UfwQjXddCSo”,
“display_url”: “nasa.gov/mission_pages/…”,
“indices”: [
114,
136
]
}
],
“user_mentions”: [
{
“screen_name”: “ISS_Research”,
“name”: “ISS Research”,
“id”: 189253902,
“id_str”: “189253902”,
“indices”: [
91,
104
]
},
{
“screen_name”: “NASA”,
“name”: “NASA”,
“id”: 11348282,
“id_str”: “11348282”,
“indices”: [
137,
142
]
}
]
},
“favorited”: false,
“retweeted”: false,
“possibly_sensitive”: false,
“lang”: “en”
},
“retweet_count”: 210,
“favorite_count”: 0,
“entities”: {
“hashtags”: [
{
“text”: “Skylab”,
“indices”: [
41,
48
]
},
{
“text”: “ISS”,
“indices”: [
100,
104
]
}
],
“symbols”: [],
“urls”: [],
“user_mentions”: [
{
“screen_name”: “ISS_Research”,
“name”: “ISS Research”,
“id”: 189253902,
“id_str”: “189253902”,
“indices”: [
3,
16
]
},
{
“screen_name”: “ISS_Research”,
“name”: “ISS Research”,
“id”: 189253902,
“id_str”: “189253902”,
“indices”: [
109,
122
]
}
]
},
“favorited”: false,
“retweeted”: false,
“lang”: “en”
}

Request with show function :
https://api.twitter.com/1.1/statuses/show/363393157469179904.json

{
“created_at”: “Fri Aug 02 20:17:34 +0000 2013”,
“id”: 363393157469179900,
“id_str”: “363393157469179904”,
“text”: “RT @ISS_Research: Happy 40th anniversary #Skylab & thanks for all your work that led to current #ISS and @ISS_Research in orbit http://t.co…”,
“source”: “web”,
“truncated”: false,
“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”: 11348282,
“id_str”: “11348282”,
“name”: “NASA”,
“screen_name”: “NASA”,
“location”: “”,
“description”: “Explore the universe and discover our home planet with @NASA. We usually post in Eastern Time (UTC/GMT-5).”,
“url”: “http://t.co/IpvHUzr4tm”,
“entities”: {
“url”: {
“urls”: [
{
“url”: “http://t.co/IpvHUzr4tm”,
“expanded_url”: “http://www.nasa.gov”,
“display_url”: “nasa.gov”,
“indices”: [
0,
22
]
}
]
},
“description”: {
“urls”: []
}
},
“protected”: false,
“followers_count”: 4533323,
“friends_count”: 202,
“listed_count”: 58627,
“created_at”: “Wed Dec 19 20:20:32 +0000 2007”,
“favourites_count”: 47,
“utc_offset”: -14400,
“time_zone”: “Eastern Time (US & Canada)”,
“geo_enabled”: true,
“verified”: true,
“statuses_count”: 26541,
“lang”: “en”,
“contributors_enabled”: false,
“is_translator”: false,
“profile_background_color”: “D0E2F6”,
“profile_background_image_url”: “http://a0.twimg.com/profile_background_images/378800000011158237/de5ed2087a3232dcd778656fecbf94a2.jpeg”,
“profile_background_image_url_https”: “https://si0.twimg.com/profile_background_images/378800000011158237/de5ed2087a3232dcd778656fecbf94a2.jpeg”,
“profile_background_tile”: false,
“profile_image_url”: “http://a0.twimg.com/profile_images/188302352/nasalogo_twitter_normal.jpg”,
“profile_image_url_https”: “https://si0.twimg.com/profile_images/188302352/nasalogo_twitter_normal.jpg”,
“profile_banner_url”: “https://pbs.twimg.com/profile_banners/11348282/1375491328”,
“profile_link_color”: “55648C”,
“profile_sidebar_border_color”: “000000”,
“profile_sidebar_fill_color”: “F3F2F2”,
“profile_text_color”: “000000”,
“profile_use_background_image”: true,
“default_profile”: false,
“default_profile_image”: false,
“following”: false,
“follow_request_sent”: false,
“notifications”: false
},
“geo”: null,
“coordinates”: null,
“place”: null,
“contributors”: null,
“retweeted_status”: {
“created_at”: “Fri Aug 02 20:06:04 +0000 2013”,
“id”: 363390263160344600,
“id_str”: “363390263160344576”,
“text”: “Happy 40th anniversary #Skylab & thanks for all your work that led to current #ISS and @ISS_Research in orbit http://t.co/m2ItqDIL2i @NASA”,
“source”: “web”,
“truncated”: false,
“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”: 189253902,
“id_str”: “189253902”,
“name”: “ISS Research”,
“screen_name”: “ISS_Research”,
“location”: “ISS Program Science Office”,
“description”: “NASA’s official source for research news from the International Space Station (ISS) - The world’s laboratory in orbit.”,
“url”: “http://t.co/5zCOMHxe”,
“entities”: {
“url”: {
“urls”: [
{
“url”: “http://t.co/5zCOMHxe”,
“expanded_url”: “http://www.nasa.gov/iss-science”,
“display_url”: “nasa.gov/iss-science”,
“indices”: [
0,
20
]
}
]
},
“description”: {
“urls”: []
}
},
“protected”: false,
“followers_count”: 55669,
“friends_count”: 203,
“listed_count”: 1701,
“created_at”: “Fri Sep 10 19:48:53 +0000 2010”,
“favourites_count”: 4,
“utc_offset”: null,
“time_zone”: null,
“geo_enabled”: false,
“verified”: false,
“statuses_count”: 3361,
“lang”: “en”,
“contributors_enabled”: false,
“is_translator”: false,
“profile_background_color”: “0099B9”,
“profile_background_image_url”: “http://a0.twimg.com/profile_background_images/147139427/s117e08011.jpg”,
“profile_background_image_url_https”: “https://si0.twimg.com/profile_background_images/147139427/s117e08011.jpg”,
“profile_background_tile”: false,
“profile_image_url”: “http://a0.twimg.com/profile_images/1121191087/s117e08011_small_hsf_normal.jpg”,
“profile_image_url_https”: “https://si0.twimg.com/profile_images/1121191087/s117e08011_small_hsf_normal.jpg”,
“profile_banner_url”: “https://pbs.twimg.com/profile_banners/189253902/1357090330”,
“profile_link_color”: “0099B9”,
“profile_sidebar_border_color”: “FFFFFF”,
“profile_sidebar_fill_color”: “95E8EC”,
“profile_text_color”: “3C3940”,
“profile_use_background_image”: true,
“default_profile”: false,
“default_profile_image”: false,
“following”: false,
“follow_request_sent”: false,
“notifications”: false
},
“geo”: null,
“coordinates”: null,
“place”: null,
“contributors”: null,
“retweet_count”: 210,
“favorite_count”: 71,
“entities”: {
“hashtags”: [
{
“text”: “Skylab”,
“indices”: [
23,
30
]
},
{
“text”: “ISS”,
“indices”: [
82,
86
]
}
],
“symbols”: [],
“urls”: [
{
“url”: “http://t.co/m2ItqDIL2i”,
“expanded_url”: “http://www.nasa.gov/mission_pages/station/research/news/Skylab_is_40/#.UfwQjXddCSo”,
“display_url”: “nasa.gov/mission_pages/…”,
“indices”: [
114,
136
]
}
],
“user_mentions”: [
{
“screen_name”: “ISS_Research”,
“name”: “ISS Research”,
“id”: 189253902,
“id_str”: “189253902”,
“indices”: [
91,
104
]
},
{
“screen_name”: “NASA”,
“name”: “NASA”,
“id”: 11348282,
“id_str”: “11348282”,
“indices”: [
137,
142
]
}
]
},
“favorited”: true,
“retweeted”: false,
“possibly_sensitive”: false,
“lang”: “en”
},
“retweet_count”: 210,
“favorite_count”: 0,
“entities”: {
“hashtags”: [
{
“text”: “Skylab”,
“indices”: [
41,
48
]
},
{
“text”: “ISS”,
“indices”: [
100,
104
]
}
],
“symbols”: [],
“urls”: [],
“user_mentions”: [
{
“screen_name”: “ISS_Research”,
“name”: “ISS Research”,
“id”: 189253902,
“id_str”: “189253902”,
“indices”: [
3,
16
]
},
{
“screen_name”: “ISS_Research”,
“name”: “ISS Research”,
“id”: 189253902,
“id_str”: “189253902”,
“indices”: [
109,
122
]
}
]
},
“favorited”: true,
“retweeted”: false,
“lang”: “en”
}

This problem occurs withe the retweet only, the tweet are correct.

I added the favorite by the official iPad Twitter application, not by my application to reduce my interaction.
The requests made by https://dev.twitter.com/console.

Could you confirm an API Twitter bug on the user_timeline? Could you fix this?
Thank you very much.


#2

I think what you’re describing is an expected condition with perspectival attributes and embedded objects:

[faq:6981]


#3

Currently, favorite doesn’t work for retweet, but works fine with the tweet for the same condition.
But, favorite info is not null, but false.