close
The Wayback Machine - https://web.archive.org/web/20140420062851/https://dev.twitter.com/issues/1393

Issue #1393: Documentation of sitestream "for_user" type does not match wire

The docs about the sitestream envelope here:
https://dev.twitter.com/docs/streaming-apis/messages

show the "for_user" user id being delivered as a string:

  1. {
  2.   "for_user":"1888",
  3.   "message":{"friends":[]}
  4. }
  5. {
  6.   "for_user":"9160152",
  7.   "message":{"friends":[]}
  8. }

This seems to actually be delivered as an integer on the wire. ie:

  1. {"for_user":365158268,"message":{...}}

Guessing this is just a doc issue?

Updates

Thanks for the report.
We fixed the doc.