Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
924fdb5f
Commit
924fdb5f
authored
Dec 25, 2016
by
matt venn
Browse files
add an example of streaming from a specific user
parent
5fa066b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/streaming_how_to.rst
View file @
924fdb5f
...
...
@@ -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
===================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment