New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Twitter API v2 #1472
Comments
I've created an initial implementation in an api-v2 branch and PR #1535. |
hey @Harmon758 thanks for this, can we get some idea about when is it going to be released? Thanks |
Most of the endpoints should now be part of the api-v2 branch / PR #1535. |
The api-v2 branch / pull request #1535 should be complete now. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The api-v2 branch / pull request #1535 has been merged into the master branch. |
|
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
|
|
|
|
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
A |
|
|
|
Support for streaming, with |
|
v4.6.0 (#1824) has been released with support for streaming, the new Retweets lookup and Likes lookup endpoint parameters, the new With this release, Tweepy now fully supports all of Twitter API v2, almost exactly a year after the initial implementation for Twitter API v2 support was pushed. New individual issues will be created for any future new Twitter API v2 endpoints and features. (The COVID-19 stream is the only remaining active portion of Labs and support for it is being tracked in #1790.) |
Now that the new Twitter API has been launched, support for it needs to be added in Tweepy.This is planned to be part of v4.0.v3.10 will be released first, as the last version to support Python 2.7 (and probably Python 3.5).My goal is to get v3.10 out before the end of the year and then work on dropping support for Python 2.
v3.10 has been released now, and support for Python 2.7 and 3.5 has been dropped.
Afterwards, This will be the next priority, along with support for asyncio.Initial support for Twitter API v2 has been added with Tweepy v4.0.
Support for additional endpoints and features have been added with Tweepy v4.1, v4.2, v4.3, v4.4, v4.5, and v4.6.
Support for new endpoints and features will be tracked in new individual issues.
Endpoints to support
Tweets
Filtered stream
Hide replies
Likes (lookup + manage)
Manage Tweets
Retweets
Search Tweets (full-archive + recent)
Timelines
GET /2/users/by/username/:username/mentionsGET /2/users/by/username/:username/tweetsTweet counts
Tweet lookup
Volume streams
Users
Blocks (lookup + manage)
Follows (lookup + manage)
GET /2/users/by/username/:username/followersGET /2/users/by/username/:username/followingMutes (lookup + manage)
User lookup
Spaces
Search Spaces
Spaces lookup (buyers, Tweets)
Lists (lookup + manage)
List Tweets lookup
List follows
List lookup
List members
Manage Lists
Pinned Lists
Compliance
Batch Compliance
Addendum
alt_text
field (379e99a)state
parameter optional for spaces search endpoint (e61d5d6)ended_at
andtopic_ids
fields (c89a233)sort_order
parameter for search endpoints (bd202e5, 8b47170)subscriber_count
field (1ffc8cd)Support for Labs (
https://developer.twitter.com/en/products/labs)COVID-19 stream (#1790)
Additional Resources
https://developer.twitter.com/en/docs/twitter-api/early-access
https://developer.twitter.com/en/docs/twitter-api/migrate
https://developer.twitter.com/en/products/twitter-api/early-access/guide
https://blog.twitter.com/developer/en_us/topics/tools/2020/introducing_new_twitter_api.html
https://twittercommunity.com/t/announcing-early-access-to-the-next-generation-of-the-twitter-api/139612
https://twittercommunity.com/t/blocks-and-likes-endpoints-are-now-complete-on-the-twitter-api-v2/154434
https://blog.twitter.com/developer/en_us/topics/tools/2021/shape-the-future-of-twitter-spaces
https://twittercommunity.com/t/announcing-oauth-2-0-beta/159189
Old Postscript
I'd like to apologize for the delay in responding to @andypiper and others about this in #1345, #1396, and #1423, as well as on Discord. I've (I think understandably) fallen behind a bit this year in my plans for Tweepy and in keeping up with issues and Discord messages, but I'm working on catching back up.
The text was updated successfully, but these errors were encountered: