projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9116bfe
)
`streamListener.filter(follow=)` expects `[str]`
author
Bryan
<bryan.bischof@gmail.com>
Sun, 5 Mar 2017 08:23:29 +0000
(
00:23
-0800)
committer
GitHub
<noreply@github.com>
Sun, 5 Mar 2017 08:23:29 +0000
(
00:23
-0800)
Example shows the list of parameters as `int`s; they should be `str`s.
docs/streaming_how_to.rst
patch
|
blob
|
blame
|
history
diff --git
a/docs/streaming_how_to.rst
b/docs/streaming_how_to.rst
index 522da0e5712058acee8ff91d3b5a820849adbb31..6e73459a36103f8463878cdd1d1f5c0d296a834d 100644
(file)
--- 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'.