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
3acffb88
Commit
3acffb88
authored
Dec 26, 2016
by
Aaron Hill
Committed by
GitHub
Dec 26, 2016
Browse files
Merge pull request #827 from mattvenn/master
add an example of streaming from a specific user
parents
5fa066b3
924fdb5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
docs/streaming_how_to.rst
View file @
3acffb88
...
@@ -81,6 +81,11 @@ the word *python*. The **track** parameter is an array of search terms to stream
...
@@ -81,6 +81,11 @@ the word *python*. The **track** parameter is an array of search terms to stream
myStream.filter(track=['python'])
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
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