Harmon
Harmon
This is a duplicate of #1688, and there's an [FAQ section in the documentation about this](https://tweepy.readthedocs.io/en/v4.8.0/faq.html#why-am-i-getting-rate-limited-so-quickly-when-using-client-search-all-tweets-with-paginator). I'm open to reconsidering how Tweepy handles this though.
Thanks! This was actually a typo copied and pasted from the Twitter API documentation on https://developer.twitter.com/en/docs/twitter-api/tweets/filtered-stream/api-reference/post-tweets-search-stream-rules.
@vinog-git is correct. The issue is that the [users/search endpoint](https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-search) returns an error when attempting to paginate past 1000 results, instead of returning a list of 0 items, as PageIterator...
User and Site streams have been deprecated and retired in favor of the new Account Activity API. `Stream.filter` using the statuses/filter endpoint is unaffected. See: https://developer.twitter.com/en/docs/accounts-and-users/subscribe-account-activity/migration/us-ss-migration-guide.html https://blog.twitter.com/developer/en_us/topics/tools/2018/enabling-all-developers-to-build-on-the-account-activity-api.html https://blog.twitter.com/developer/en_us/topics/tools/2017/announcing-more-functionality-to-improve-customer-engagements-on-twitter.html https://blog.twitter.com/developer/en_us/topics/tools/2017/building-the-future-of-the-twitter-api-platform.html https://twittercommunity.com/t/details-and-what-to-expect-from-the-api-deprecations-this-week-on-august-16-2018/110746...
You're referring to Twitter API v2 and Twitter API v1.1, as Tweepy v2 was released almost a decade ago and Tweepy v1 is from over a decade ago. I don't...
As noted, make sure you don't have a file or folder in your path or current working directory named "tweepy" or "tweepy.py", so that you import the Tweepy library rather...
What version of Tweepy are you using? Are you using a Twitter Developer App created on or after 2022-04-29? For code block usage, see https://docs.github.com/en/github/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.
Then this is a duplicate of #1877 / #1878. > New Apps: > > will not be able to gain access to v1.1 statuses/sample and v1.1 statuses/filter > > https://twittercommunity.com/t/deprecation-announcement-removing-compliance-messages-from-statuses-filter-and-retiring-statuses-sample-from-the-twitter-api-v1-1/170500...
The blocking issue for this has been Python 2 support, and with #1253, I'd like to plan to integrate support for asyncio in v4.0, especially for streams.
I've created an async-streaming branch and draft PR #1491 that adds support for asynchronous streaming with asyncio. Any testing and/or feedback would be appreciated.