import tweepy
stream = tweepy.Stream(
- "Consumer Key here", "Consumer Secret here",
- "Access Token here", "Access Token Secret here"
+ "Consumer Key here", "Consumer Secret here",
+ "Access Token here", "Access Token Secret here"
)
Then, :meth:`Stream.filter` or :meth:`Stream.sample` can be used to connect to
printer = IDPrinter(
- "Consumer Key here", "Consumer Secret here",
- "Access Token here", "Access Token Secret here"
+ "Consumer Key here", "Consumer Secret here",
+ "Access Token here", "Access Token Secret here"
)
printer.sample()