From 481336abdb01d9c4e97073efaf85a5fde28e0959 Mon Sep 17 00:00:00 2001 From: Bryan Date: Sun, 5 Mar 2017 00:23:29 -0800 Subject: [PATCH] `streamListener.filter(follow=)` expects `[str]` Example shows the list of parameters as `int`s; they should be `str`s. --- docs/streaming_how_to.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/streaming_how_to.rst b/docs/streaming_how_to.rst index 522da0e..6e73459 100644 --- a/docs/streaming_how_to.rst +++ b/docs/streaming_how_to.rst @@ -83,7 +83,7 @@ the word *python*. The **track** parameter is an array of search terms to stream This example shows how to use **filter** to stream tweets by a specific user. The **follow** parameter is an array of IDs. :: - myStream.filter(follow=[2211149702]) + myStream.filter(follow=["2211149702"]) An easy way to find a single ID is to use one of the many conversion websites: search for 'what is my twitter ID'. -- 2.25.1