{"action":"closed","issue":{"url":"https://api.github.com/repos/ryanmcgrath/twython/issues/484","repository_url":"https://api.github.com/repos/ryanmcgrath/twython","labels_url":"https://api.github.com/repos/ryanmcgrath/twython/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/ryanmcgrath/twython/issues/484/comments","events_url":"https://api.github.com/repos/ryanmcgrath/twython/issues/484/events","html_url":"https://github.com/ryanmcgrath/twython/issues/484","id":298118199,"number":484,"title":"Streaming - unable to use multiple \"follow=\" in stream.statuses.filter()","user":{"login":"RedactedCode","id":31665276,"avatar_url":"https://avatars0.githubusercontent.com/u/31665276?v=4","gravatar_id":"","url":"https://api.github.com/users/RedactedCode","html_url":"https://github.com/RedactedCode","followers_url":"https://api.github.com/users/RedactedCode/followers","following_url":"https://api.github.com/users/RedactedCode/following{/other_user}","gists_url":"https://api.github.com/users/RedactedCode/gists{/gist_id}","starred_url":"https://api.github.com/users/RedactedCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RedactedCode/subscriptions","organizations_url":"https://api.github.com/users/RedactedCode/orgs","repos_url":"https://api.github.com/users/RedactedCode/repos","events_url":"https://api.github.com/users/RedactedCode/events{/privacy}","received_events_url":"https://api.github.com/users/RedactedCode/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-18T21:06:34Z","updated_at":"2018-02-19T18:43:59Z","closed_at":"2018-02-19T18:43:59Z","author_association":"NONE","body":"If I read and understand the Twitter API docs [(here)](https://developer.twitter.com/en/docs/tweets/filter-realtime/api-reference/post-statuses-filter) \r\ncorrectly, the statuses./filter endpoint parameters should allow multiple userids, in a comma-separated list.\r\n\r\nIf I set up a streamer using Python3.5/Twython3.6, and call the filter as follows:\r\n``\r\nstream.statuses.filter(follow=25073877)\r\n``\r\nI get data flowing in as expected.\r\n\r\nIf however do this:\r\n``\r\nstream.statuses.filter(follow=25073877, 15833737)\r\n``\r\nI get\r\n>  stream.statuses.filter(follow=25073877, 15833737)\r\n>                                                                                 ^\r\n> SyntaxError: positional argument follows keyword argument\r\n\r\nI've tried using parentheses and quotes (eg (25073877, 15833737) and '25073877, 15833737') , but then I just get a 406 back complaining about malformed requests.\r\n\r\nTwython problem or Twitter problem? Or a me problem because I've misunderstood the docs?\r\n\r\n\r\n\r\n(By the way, is Twython going to be updated to reflect the replacement for the user and site streaming endpoints with Twitter webhooks API? These two are going to be switched off in June/July, and there are also plans to rejig the filter & sample endpoints ...) \r\n\r\n"}}
{"actor":{"display_login":"RedactedCode"}}