From 924fdb5f083350641835d8ba0072217cd8437845 Mon Sep 17 00:00:00 2001 From: matt venn Date: Sun, 25 Dec 2016 23:35:11 +0100 Subject: [PATCH] add an example of streaming from a specific user --- docs/streaming_how_to.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/streaming_how_to.rst b/docs/streaming_how_to.rst index 29777ef..522da0e 100644 --- a/docs/streaming_how_to.rst +++ b/docs/streaming_how_to.rst @@ -81,6 +81,11 @@ the word *python*. The **track** parameter is an array of search terms to stream myStream.filter(track=['python']) +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]) + +An easy way to find a single ID is to use one of the many conversion websites: search for 'what is my twitter ID'. A Few More Pointers =================== -- 2.25.1