twitteR
twitteR copied to clipboard
Issue in parse user
I've run into a bit of an issue when grabbing a numbers of users: If the list length is equal to or over 100, and includes screenname(s) that are only numbers the parseUsers
function assumes that the screenname(s) that are only numbers are actually uids and not screen names, so adds them to the uids
variable. This doesn't, however remove the screenname from the screen.names
variable. This then results in a query to twitter with the UID, as well as all of the screennames, but that has >100 users in it, so it results in a 403 forbidden response.
I've commented out the autodetecting of uids in utils.R
locally, and for my use case, it is currently working. Although that means that autodetecting screennames versus uids won't work (which, in my case isn't a big deal since I'm always submitting only screennames). Although all number screennames pose a problem for autodetecting screenname or uid. I'm willing to try and help resolve this (my first thought was that the screenname vs uid distinction could be made explicit by the user), although I don't want to go about breaking code that others rely on, or submitting unwanted pull requests. Thoughts?
Related to #75
Sorry for the > 1 year delay on this. I'll likely add in some sort of explicit override soon, hopefully this weekend.