I have been having trouble with Twitter authentication for about a week now, as I suddenly can’t get it to work. Please let me know if you know how to solve this problem.
Prerequisite
A project I’ve been using for several years.
Personal(legacy) plan
Bubble version 23
Twitter Plugin (Bubble official)
Twitter login worked fine before
Occurrence
When “Signup/login with Twitter” is executed, the following error message appears on the browser and the login process fails.
Error connecting to Twitter: {“errors”:[{“message”:“You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code”:453}]}
What I tried
Not being sure, I upgraded my Twitter API plan to Basic, but nothing changed in the event.
My native language is not English, so sorry if I am wrong.
Hi all - Laura from the product team here. Just wanted to jump in and say we’re looking at what’s causing this issue (which we now know) and hope to get it fixed soon. We’re evaluating whether we want to re-write the plugin versus fix the current issue. I will update this thread with next steps.
In the meantime:
Please (please!) submit a bug when something is broken. That gives us a count of how widespread an issue is and helps with prioritizing a fix.
OK! Updating here with a little more information. There are two issues here we’ve uncovered:
We don’t support Twitter V2 API (we’ll update our documentation to make this clearer)
Twitter has now placed parts of its API (for both v1 and v2) behind a paywall so to hit certain endpoints you need to be on a paid plan. As part of doing oauth via Twitter, the existing implementation of the Bubble plugin also hits some additional endpoints into the Twitter api some of which are now paywalled. We’ll be looking into simplifying the plugin so that the oauth operation is performed independently of other endpoints.
As part of the fix, we’ll also update our documentation to mention which plugin features are now dependent on a paid Twitter developer plan.
Our team started digging into the fix for this first thing this morning and it appears that since Friday Twitter has fixed permissions on the endpoint so that oauth now works again. For anyone on this thread: Can you let me know if this is still happening for you (as of 9:30 Pacific, Monday July 31)?
Even if we have a Twitter API Free plan, we can use the “GET /2/users/me” endpoint, so it would be perfect if bubble could get user information.
ttps://developer.twitter.com/en/portal/products
hi @laura.oppenheimer can the team please look at this again? it was working up until two weeks ago and now getting this error again:
Error connecting to Twitter: {“errors”:[{“message”:“You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product","code”:453}]}
Did something change recently? Or is there a call that can be excluded from the post sign in workflow so this can work again, i’m only using this to verify and pull information for the Current User.
I also tried upgrading to Basic temporarily, this didn’t fix the issue.
Can you submit a bug report here? Bug Report | Bubble That will give our team all the info they need to take a look and help you out. I will be candid that the last time we looked at this things were changing rapidly in Twitter/X world in terms of what was free/paid and so I’m not surprised that something might be up again!
submitted! any assistance on this would be much appreciated, working on another hackathon now and this was a key feature which now all of a sudden is broken!