-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
Getting authentication error. Can't find where/how to sign out and sign back in #1475
Comments
Same issue, can't log back in now |
same, my own custom API keys get rejected (because they dont have Elevated access?), default ones just do nothing. Please fix. |
Use these keys from the TwidereX app:
|
This solves the problem, thank you! |
Unless I'm updating them wrong (likely) , the twidereX keys don't work for me 🙁 |
Worked for me when (with each key) I deleted 'ConsumerKey=' and 'ConsumerSecret=', and used the rest of it. |
Got it! Had to update each, then try to add a new account, then authorized for my current account instead of creating a new one. It told me I was already logged in and everything loaded correctly. |
Thank you. This is the only useable twitter app for android |
You can always access Settings when signed out, and it's in there as an option. Glad it worked out. |
How exactly? Can you provide clarification, please? |
What worked for me is:
Granted, there's probably steps in this that you don't need to do or that may be faster since I'm not well-versed, but this specific set of steps had the correct amount of voodoo magic to get mine working. |
Thanks! Not sure what I did, but I'm able to login to Twitter with Twidere (no 'X') using the Twidere X keys. I basically stabbed at my phone for a good 5 minutes, trying random stuff, until I got the browser login screen for Twitter. Then everything was working. Adding this for others to demonstrate that with perseverance this method works. |
Great success. Thank you very much QS for the assist. I noticed that I was unable to log in with 2FA set up so I had to revert, and then reinstate after authentication. Also, every time a login failed the API key/secret would revert back to the prior input. I noticed that I had to verify on each login attempt that the "new" TwidereX key/secret were being used. Best of luck to anyone out there I had a dark, dark 72 hours of having to communicate with my family. |
Thank you for the new keys. |
I can confirm this is true, though you may have to make sure to create a "standalone app" that uses v1.1 of the API. Possibly I fat-fingered something, or copied from the wrong field or such, when I tried at first with creating an "elevated" app from the Twitter developer dashboard, but for whatever reason it didn't work for me (a bit surprising since the developer dashboard implies that an "elevated" app supports both v1.1 and v2 of the API, so one would assume it would be backwards compatible, but perhaps expecting convenient behaviour from Twitter's API is foolish!) EDIT: My v1.1 API key gives me an error indicating my app is read-only, I found Twitter's developer console oddly confusing though so I mighta just screwed something up. (The TwidereX key works fine for me, to join the chorus.) Note too that you don't necessarily have to dive in and change the default API settings, you can also just enter the consumer secret and key when adding an account---there's a button up in the top-right, to the left of the settings button, in the Sign In page within Twidere when adding an account. |
I've updated the remote API config for testing, it should resolve the issue for now, but there is no guarantee that Twitter will not block this API Key. |
I've just started getting "Network Error: Empty Data" issues whenever I try to like a tweet. Everything else still seems to work, any ideas? (using the Twidere X keys) |
Same here, does anybody have any solutions? Everything works for me but not liking tweets |
Trying to retweet also leads to a 'hit a daily limit' error. It seems possibly that too many people are using the Twidere X keys compared to what their limits will allow. It feels like the best solution will be for each person to get their own keys via a fake app in the developer portal. |
I think that you are totally right @fusenuk, I followed the instructions from the Talon Github repository to get my own keys and it totally worked! Here's the instructions everyone: To get your Twitter API key, go through these steps: 1: Sign in on their developer site (https://apps.twitter.com/) 2: Click Create New App. 3: Choose a name, description, and website. These are all required and unique to your app, but it makes no difference what you call them. Anything will work here. 4: For the callback URL, you can do anything you like, but to have it work out of the box, use: http://talonfortwitter.com (since we are using Twidere I guess you can put any website you want instead, but it doesn't matter) 5: If you want a different one (stressing that it really DOES NOT matter..) then change it in the LoginFragment 6: Read and accept their Rules of the Road, then Create your Twitter Application 7: You NEED to go to the Permissions page of the app and select the Read, Write and Access direct messages option, or else you won't be able to do anything but view your timeline. Now go into your "new app", go into the "Keys and tokens" section and copy the API Key and Secret into Twidere using the steps from @GONin3D, I hope this helps someone :) |
Hi everyone, I face the same issue on Twidere on my Android phone too ("incorrect api settings") so I wanted to try the above mentioned trick but I can't create a developer account visibly: I am stuck with the following message "There was a problem completing your request: User must have a verified phone number on file prior to submitting application." I use Twidere for privacy purposes so ending up giving my phone number to Twitter to create a developer account doesn't make any sense to me. Also, I'm not sure if it's related or not, but when I click on the 'Create an App' button, I have the following message: "You may continue managing your existing Apps but if you would like to create new Apps or use Twitter premium APIs, please apply for a developer account. As a developer platform, our first responsibility is to our users: to provide a place that supports the health of conversation on Twitter. To continue to prevent misuse of our platform, we have introduced a few new requirements for developers." I didn't try using the Twidere X API keys as people are reporting here it's not always working great and chances are the use of these publicly available keys will be limited in the future as more and more people are using them (from what I've understood by reading above). Can someone help me and tell me the best course of action? Thanks a lot guys, I am not a developer myself and I have limited understanding of all development related things, I'm just concerned about my privacy, so your help is precious and means a lot to me. |
Looks like it only works if you have elevated access. What do you mean by Staging set application? |
Getting Error 32 "could not authenticate you" with twidere x keys this morning. Edit: Twidere X looks to be locked out with the same keys |
Yeah, it appears they've now blocked Twidere X The new Twitter rules say 'no third party clients' So it makes sense that we will now start to see nearly all consumer API keys start to get blocked for any largely used client Worrying one of the posts above makes it look like they are also being selective on who can create new custom API keys as they don't want people using them for clients either. |
I can confirm that the "use Twidere X keys workaround" doesn't work anymore. In my case that trick stopped working roughly 16 hours ago. |
I don't know why I didn't think of this earlier, but the official Twitter API Keys work!
Worked on the first try for me, you might need to remove your existing account or reinstall Twidere if you get errors. |
Not working for me. Says the account has been suspended the moment I try to login (it hasn't). |
thank you for checking Hasan - I've been using mac and have been wondering if other keys still allowed additional functionality. I appreciate you checking it out for us. One day someone is going to figure it out and pull the plug. I'm dreading the day. Maybe it will just stay functioning this way for a few years. Rough to go out not with a bang, but a whimper. |
Just wanted to update that this xauth workaround has finally kicked the bucket for me. Was using the Twitter for Android keys for months. Finally today I can't get any timeline tweets. If anyone has a counterexample of it still working, please advise! |
Yeah, unfortunately, same here. |
I'm genuinely surprised that it has lasted for so long |
Glad you said something camisotro + I17r - |
I just ended up using squaker which is a fork of fritter to view things only. But now I can't search things on there, looks like Elons trying to purge all the bots. |
I was rereading this thread last night hoping to find keys that still worked. Sad to see no solutions so far. I have been using Squawker to open links for a while (since opening links in twidere has been giving me the "you cannot see this protected user's tweet" message for months) but it seems to have stopped working last night also. Maybe there will be an update for it... I guess I'm down to reading an RSS feed through nitter, which still works for public accounts. Shame about trying to keep up with anyone with a locked account though. |
Focus still works and it is updated every now and then. |
@Musketeiro There seem to be several similarly-named apps... can you provide a link to the specific one, and any instructions needed to make it work? |
No instructions needed. It works out of the box. It's not Twidere, but it works fairly well. |
Thanks a lot! Really appreciated 👍🏻 |
A bit outside the scope of this issue, but since it's not going to get fixed, might as well: There does not seem to be a way to add lists or any other custom options to the main selection of drawers in Focus? |
Not even if you purchase pro plan? |
That's possible, but I'm not paying them just to find out (since I won't use a subscription plan either way). |
I used to use both Twidere for Android (using the Mac keys) and an old pre-Elon version of the Twitter app (I intentionally "downgraded" for a better user experience). As of yesterday, neither read the timeline. I'm guessing that Twitter revoked access to a bunch of old API keys. Does anyone know of any working keys? |
tried about a dozen from github on Friday and none worked unfortunately |
Honestly I'd rather just not use twitter. I'd not use it at all if I can't use clients. I use newsboat on my Linux terminal which is for rss feeds, and I can't even pull the rss feeds off Nitter now, fricking nuts. I stopped using Facebook and Insta, I used Twitter just because it seemed more informative but I might just give up on that. |
You should start using mastodon, that at least will still work via twidere... |
@RayneYoruka I used to use Mastodon but there just wasn't that much on there for me. My account still exists but I got bored of going on. |
This is why I just moved to use a modded client of the twitter and call it a day, it's been fine since my last comment here |
What's this modded client app of Twitter that you speak of? |
Go check it from mobilism |
I woud not use random modded apks, check out https://github.com/revanced/revanced-manager instead, you just patch your own APK |
Everyone can do as they wish x) |
does anyone know what Twitter actually changed? Did they disable the old API Keys and replace them for the official apps? Why are Focustwitter and OldTweetDeck (was down for half a day but then got fixed) still working? |
I think you need to generate a auth_token together with token and token secret. |
just tried, it logs in but gives you the oauth v1.1 error, same since they started using 2.0. Isnt that what killed the regular keys in the first place? |
Auth_token is a cookie not a token. Twidere doesn't use cookies. Not v1 or v2 issue. |
Check before submitting issue -- Thank you!
You can ignore this form if this issue is a feature request.
Expected behavior
Actual behavior
Steps to reproduce
Extra info
Android version: (version code here)
Network type:
App version: (version code here)
Build variant:
Micro-blogging service:
App settings:
The text was updated successfully, but these errors were encountered: