How can I get the user name by userid via a request to the Twitter Api?
Some other methods, like followers/ids
, give us as response an array of IDs, from which I am not sure how I can get their usernames.
The response of the method "followers/ids
" looks something like this:
{
"ids": [782235942383972400, 16664925, 839240398010781700, 39606379, 19713521,
...
...
...
...
...
899462802, 198446818],
"next_cursor": 0,
"next_cursor_str": "0",
"previous_cursor": 0,
"previous_cursor_str": "0"
}
How I can get the username from these ids? I want something like what this webpage does.