Issue #178: trim_user=1 affects user objects in retweets

https://dev.twitter.com/docs/api/1/get/statuses/user_timeline says "If you're using the trim_user parameter in conjunction with include_rts, the retweets will still contain a full user object." However, that doesn't seem to actually be the case.

If I compare https://api.twitter.com/1/statuses/user_timeline/gruber.json?count=40&include_entities=1&include_rts=1&trim_user=1
vs. https://api.twitter.com/1/statuses/user_timeline/gruber.json?count=40&include_entities=1&include_rts=1

There is (currently) a retweet (original ID 153339516906770432, retweet ID 153341932834263040). The retweeted_status "user" property in the trim_user=1 is:

  1. "user": {
  2.     "id_str": "14666705",
  3.     "id": 14666705
  4. }

Updates

  • Thanks for the report; I've updated to the documentation to reflect the improved reality.