Allow int or str IDs as streaming arguments - #830
Conversation
|
Thanks @fitnr. I'm only just getting acquainted with using the Streaming API vs Tweepy so I know there are other dependencies and conventions to consider, so this is for future discussion: it might be worthwhile to throw a warning when a user passes in a string. Right now, the behavior -- and I'm assuming this is unintended -- is to silently fail when a string value is passed into the https://dev.twitter.com/streaming/overview/request-parameters#follow
In other words, it is never the case that the Twitter API will accept In fact, I'd almost argue that it's better for What behavior should the user expect with the following invocation? Forcing the API of |
|
I don't think changing signature of the To answer your question about this: mystream.filter(follow=['101'])I would expect that will produce a stream that follows the user with |
cf54e31 to
d538993
Compare
Fix for #829. The str.join method raises a
ValueErrorforints.