From: Bryan Date: Sun, 5 Mar 2017 08:23:29 +0000 (-0800) Subject: `streamListener.filter(follow=)` expects `[str]` X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=481336abdb01d9c4e97073efaf85a5fde28e0959;p=tweepy.git `streamListener.filter(follow=)` expects `[str]` Example shows the list of parameters as `int`s; they should be `str`s. --- 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'.