Skip to content
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 next Twitter API version :-) #1396

Closed
andypiper opened this issue Jun 24, 2020 · 15 comments
Closed

Support for next Twitter API version :-) #1396

andypiper opened this issue Jun 24, 2020 · 15 comments
Assignees
Labels
API This is regarding Twitter's API Feature This is regarding a new feature RFC This is a Request For Comments

Comments

@andypiper
Copy link

Hi friends! Andy here, from Twitter Developer Relations :-)

Tweepy is one of the most popular libraries for the Twitter API, and we would love to be able to list you as supporting the newest version of the API when it comes out in the coming weeks.

Do you all have any plans to support the Twitter Developer Labs endpoints and fields? Although the paths may change at release, you can expect the overall pattern to be very similar, since we've been in pilot with this new version for some time.

Feel free to Tweet me @andypiper, or chat with us on the developer forums if you'd like to learn more. Not long now! We will not be replacing everything you're familiar with at launch, but we think a lot of developers will be interested in the new features (topic context annotations, pinned Tweets, poll data, etc etc).

@senic35
Copy link

senic35 commented Jun 25, 2020

@andypiper What is the exact reason you guys removed support for your legacy version? This broke so many libraries depending on some functions of it. Is there any way to fix some of the issues which https://github.com/twintproject/twint or https://github.com/ciderpunx/twitrssme are having?

@andypiper
Copy link
Author

Which legacy version are you referring to? We haven't announced plans to retire v1.1 as yet.

@senic35
Copy link

senic35 commented Jun 26, 2020

Which legacy version are you referring to? We haven't announced plans to retire v1.1 as yet.

Here are some of the issues that occurred: ciderpunx/twitrssme#92

@andypiper
Copy link
Author

This is off-topic for the tweepy library / the issue that I originally opened.

The Twitter website is not an API so there should be no expectation that it will remain the same. If you're relying on undocumented internal behaviours then unfortunately things may break. It will be down to the developers of those web scraping tools to adapt themselves.

@fitnr
Copy link
Contributor

fitnr commented Jul 2, 2020

@andypiper I'm sure that the maintainers of the library would appreciate a pull request. After all, open source only works if people (and enormous public corporations) pitch in!

@andypiper
Copy link
Author

I hear you - I can’t promise a specific PR for Tweepy, but I’m working with as many of the community libraries as I can (and there’s a lot of languages and ground to cover!). More news coming soon.

@joshthecoder
Copy link
Member

@andypiper Yes it would be great to keep Tweepy up to date with the latest API changes. I'll take a look at Labs today and also review where we can start updating Tweepy to support API changes. I've gone ahead and also applied for a developer account for the Tweepy organization so we can access Labs.

I'll be sure to reach out if I have any questions. Thanks for reaching out!

@joshthecoder joshthecoder added the Improvement This is regarding an improvement to an existing feature label Jul 11, 2020
@joshthecoder joshthecoder self-assigned this Jul 11, 2020
@andypiper
Copy link
Author

Hey @joshthecoder I followed you on Twitter so feel free to DM if you need support. Thanks!

@lucasrangit lucasrangit mentioned this issue Nov 2, 2020
@tdstarkisoc
Copy link

Does anyone know if there has been any progress on this?

@tdstarkisoc
Copy link

Does anyone know if there has been any progress on this?

@joshthecoder any thoughts on a rough timeline?

@dnpthree
Copy link

Bump - would love to know if this has started yet?

@andypiper
Copy link
Author

When @Harmon758 was on the TwitterDev Twitch chat yesterday I think it was mentioned that this is being looked into for after the next mainline release (i.e. early 2021). There are some basic (non-Tweepy) Python samples at https://github.com/twitterdev/Twitter-API-v2-sample-code but nothing in Tweepy yet.

@Harmon758
Copy link
Member

I'm going to close this in favor of #1472, now that Twitter API v2 has been launched.
I greatly appreciate the support and encouragement, and I apologize for the delay in responding.
As for supporting any other current or future Labs endpoints, I've added that as an addendum to #1472 for now.
My Twitter account is an active developer account, so access to Labs shouldn't be an issue.

@Harmon758 Harmon758 added API This is regarding Twitter's API Feature This is regarding a new feature RFC This is a Request For Comments and removed Improvement This is regarding an improvement to an existing feature labels Dec 18, 2020
@samuelmaker
Copy link

hey @andypiper do you know if the destroy tweet endpoint is being retired in v2?

@andypiper
Copy link
Author

The current v1.1 statuses/destroy will go away in the future, but not before the v2 replacement is ready. So far as I know there are no plans to not have the ability to delete Tweets in the API, but I cannot describe what this will look like or when it will be available in v2 at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API This is regarding Twitter's API Feature This is regarding a new feature RFC This is a Request For Comments
Projects
None yet
Development

No branches or pull requests

8 participants