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

twitter: migrate to a wrapper using Twitter API v2 #640

Closed
GraemeWatt opened this issue Apr 20, 2023 · 0 comments · Fixed by #641
Closed

twitter: migrate to a wrapper using Twitter API v2 #640

GraemeWatt opened this issue Apr 20, 2023 · 0 comments · Fixed by #641
Assignees
Labels
complexity: low priority: high type: bug Indicates an unexpected problem or unintended behaviour

Comments

@GraemeWatt
Copy link
Member

Last Friday (14th April 2023), I received an email from Twitter notifying me that the app used to send tweets (HEPData submission) had been suspended from accessing the Twitter API. The same email had a link to a post "Announcing new access tiers for the Twitter API". I requested that the current v1.1 app be unsuspended and moved it to a Project for access to v2 endpoints. It looks like v1.1 access is being deprecated, so we should move to v2. We currently use the twitter Python wrapper which only supports v1, although there is an alpha release for v2. Probably it's better to move to a different Python wrapper with support for v2. I tried tweepy but it requires requests-oauthlib>=1.2.0 conflicting with invenio-oauthclient requiring requests-oauthlib<1.2.0. An alternative option is python-twitter-v2 which seems to be satisfactory when testing.

@GraemeWatt GraemeWatt added type: bug Indicates an unexpected problem or unintended behaviour priority: high complexity: low labels Apr 20, 2023
@GraemeWatt GraemeWatt self-assigned this Apr 20, 2023
@github-project-automation github-project-automation bot moved this to To do in @HEPData Apr 20, 2023
@github-project-automation github-project-automation bot moved this from To do to Done in @HEPData Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: low priority: high type: bug Indicates an unexpected problem or unintended behaviour
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant