Unable to login using Twitter plugin

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.

1 Like

Has anyone else encountered this problem?

1 Like

I have also encountered and inquired about this.
It seems to be known, but I was prompted to vote on this idea.

1 Like

We all have a problem when the Plugin is not updated. Thanks for letting us know.

Is there any notification from Bubble as to when will they fix the plugin? Its a bit crazy that an official plugin can be so unreliable!

Also unable to login/signup a user with Twitter. Is this just busted or is there something I need to update/change?

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.
2 Likes

OK! Updating here with a little more information. There are two issues here we’ve uncovered:

  1. We don’t support Twitter V2 API (we’ll update our documentation to make this clearer)
  1. 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)?

The error has changed to the following, but you still cannot access the site.
You cannot get a new v1.1.
Can you support v2 instead of v1.1?

Error connecting to Twitter: {"errors":[{"code":215, "message": "Bad Authentication data."}]}

1 Like

Can I ask you to submit a bug report here – Support | Bubble – if you haven’t already?

I have confirmed that I can log in with the Twitter Plugin. Thank you for your support.

However, it seems that all “Current User’s Twitter name/id/picture, etc.” get the following error and information cannot be obtained.

Error connecting to Twitter: {“errors”:[{“code”:215, “message”: “Bad Authentication data.”}]}

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!

2 Likes

yep will do

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!

I am in the same situation as well.

1 Like

can you create a bug report as well if you haven’t already? that might help get more of the team’s attention

I have just sent bug report :ok_man:

1 Like

am having same issue , is there any updates on this ?