-
-
Notifications
You must be signed in to change notification settings - Fork 12
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 API v2 not supported #43
Comments
I can image that it might be enough to provide a selection between the In code, a simple mapping of the respective endpoints to endpoint-generators for |
Looking further into the issue, the 3rd party OAuth library might also be the cause of failed requests here. The plugin currently uses the |
FYI we’re in the middle of some major changes to the plugin, so this will be addressed in the next major release. |
Thanks for the heads up, can you provide a (rough) timeline? It would help me estimate if we have to roll our own solution, or go with Verbb. Thanks! |
I can’t provide a firm timeline but looking like Q1 for a major version update, which will include Twitter v2 API integration, among a few other major changes. |
Thanks for the update! Would it be possible to participate in a beta? I'll probably need an implementation end of January/start of February. Maybe I could meet the requirements with a beta-release and update to production at a later point. |
@engram-design Do you have any more information on this? Feedback would be much appreciated! Thanks! |
Nothing yet, but expect it still in this Q1. Nothing solid enough for a beta, but things are progressing as planned for a release soon. |
Describe the bug
Description
The current implementation for the Twitter-Provider uses the legacy
/1.1/...
-endpoints. Twitter has changed their permission model, having now different levels of access.essential
: used for new projects, free, includes ability to call a subset of endpointselevated
: higher tier, commercial, higher limits and access to more endpointsUsing the
/1.1/...
-endpoints, as the plugin does now, therefore doesn't work with the endpoints that are being called by the plugin with only the essential-access. A migration is required.The error-log looks something like this:
It doesn't look like there's any way to only use legacy endpoints w/ a legacy permission model.
Quick local test
A quick test by changing the plugin's code to call the
/2/...
-endpoints results in an error related to calling an unknown API-endpoint.Summary
To enable usage with the Twitter-API for
essential
users, the endpoints have to be migrated from/1.1/...
to/2/...
, or the developer has to apply for elevated access.Therefore, the plugin is currently broken for probably the vast majority of devs using the Twitter-provider, as even for testing one needs elevated access.
Steps to reproduce
essential
access levelCraft CMS version
Craft Pro 4.3.5
Plugin version
3.0.2
Multi-site?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: