Closed chrMongeau closed 7 years ago
I found the reason: ids
are taken from id
(numeric, then converted to character), but they should be taken from id_str
(character). See Docs > API Overview > Twitter IDs.
friends/ids
is also affected. There is a parameter to pass that "stringifies" ids
(stringify_ids
).
In some cases the user_id is non-existent, even if Twitter itself is giving those ids! See, e.g., https://twitter.com/intent/user?user_id=744456080168738816
It would be possible to use the nick (that I thought was more problematic) for these cases, but it is probably not worth it.