It shows an error with OAuth. It's night so I can't try out compiling by myself (it would take a long time to set up the correct settings + it's a lot of trial and error) but even when patching it up, there's a whole block of errors posting up
The colab script does work for me however it's only downloading the 7.2.2-beta1 version even though github shows the latest is 7.2.3 I've tried it with two different browsers and I simply can't get it to give me the actual latest version 🤔
The colab script now uses 7.2.3 and not the beta anymore. No need to fork, just follow the instructions in the script. Commenting from version 7.2.3 with personal api key.
I downloaded the new version from above and it is not letting me login, it keeps giving me the error invalid request to oauth API. Is there a reason why and what is the fix for this?
Spoof client failed: app.revanced.patcher.patch.PatchException: Failed to resolve APIUtilsFingerprint
at app.revanced.util.BytecodeUtilsKt.getException(BytecodeUtils.kt:26)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute$executePatch(BaseSpoofClientPatch.kt:44)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute(BaseSpoofClientPatch.kt:46)
at app.revanced.patches.reddit.customclients.BaseSpoofClientPatch.execute(BaseSpoofClientPatch.kt:11)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend$executePatch(Unknown Source:190)
at app.revanced.patcher.Patcher$apply$1.invokeSuspend(Unknown Source:292)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at app.revanced.patcher.Patcher$apply$1.invoke(SourceFile:0)
at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:71)
at app.revanced.manager.flutter.MainActivity$runPatcher$1$patcherResult$1$2.invokeSuspend(Unknown Source:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:11)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:93)
at kotlinx.coroutines.EventLoopImplBase.processNextEvent(Unknown Source:46)
at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Unknown Source:23)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Unknown Source:73)
at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:0)
at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Unknown Source:6)
at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$34(Unknown Source:470)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$hTJfH-rv2j-9Y91G5H_L5jFDN6U(SourceFile:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda5.run(SourceFile:0)
at java.lang.Thread.run(Thread.java:1012)
I'll try logging in again and if there are still problems I'm just gonna go to sleep and wait for a fix. No need to rush dev take your time and appreciate what you're doing.
Edit 1: I tried logging in again and it's the same oauth API error message just like one person who commented below.
I didn't patch the app at all and just installed it and it still has this oauth error, I don't know what caused the problem but yeah I think we should give the dev time.
I was trying to reinstall the older version that I was using but my phone deleted the APK I patched used the instructions to build the app long ago so I might be in trouble and I do not want to rebuild the app again this late into the night, it is 3 am where I am and I should really sleep.
If you directly install it, I guess the API key doesn't work. Did it work before? Because that would get over and above the 100 API calls/minute limit of Reddit.
Yeah I would have tried seeing if the compiled version worked but it's 12.30AM now and compiling it takes a lot of time for me, to set up everything + trial and error. I guess the issue will be figured out soon so that's not a problem for me, but I really suspect some shady part from reddit is behind this.
I guess it's because of how the dev patched it temporarily? Because one of the things I saw in the log was Failed to resolve APIUtilsFingerprint which depends on APIUtils
I directly installed it, without anything. I should have patched it tho but it's way too late to do anything about it so I'll just let the devs work and I'll go get some sleep hopefully there's something when I wake up.
Edit 1: Plus I do not know to to configure an apk file from downloading the link and patching it thru revanced manager. Do you have the instructions for how to do so because I don't want to use the google instructions method but if there is another way I'd like to try it.
You install the revanced app, then download the infinity apk. Keep the API key ready. Open the revanced app and go to the middle page where you can search for apps, so search for the infinity apk and click on it. After that it'll give the option to add patches and you can add the API key in the appropriate location. From here on just follow the steps and you're done.
I don't think there's another method here, is it something I didn't get?
Thanks, there was this installation method that was more reliable but took way longer which is why I don't want to do it but here's the link to the thread.
I'd like you to know that when I switched back from Android to iOS, instead of trading in I kept my old android phone SOLELY because your app is so superior to the reddit official app in every way I cannot browse reddit on mobile without it. I'm so addicted to reddit I've started to be able to barely contain my disgust enough to start browsing on the official app at work on my new phones and it feels dirty, like I'm cheating on Infinity. I came straight here to this sub as soon as infinity wasn't working this evening and applaud your dedication to the best kept secret in all social media
Any insight into what the actual issue is? Any hope for other patched apps like Sync or Boost to work on thier own eventually (considering they aren't actively developed anymore)?
It looks like what /u/hostilenemy did was simply comment out the line that adds the user-agent header in the HTTP request, so i guess that would also work for fixing other apps, just remove user-agent header from requests and it might work.
The issue is unclear because it's from Reddit itself. What happened was when the user agent had "Android" inside, reddit will redirect all the JSON API requests to an invalid URL.
If Reddit reverses this change, these apps will work again.
Thank youfor your hard work, if Iever get caught up with my credit card I'llupgrade from the bottom tier, Icannot use infinity reddit ATMAnd am posting on Website, the app just crashes when I click anything, I don't know how to build on GitHub so I eagerly await Google play update
Can you build your own app like before? I was using the 6.4.0beta version fine untill now. I tried to download load the free GitHub but that doesn't allow account connection.
I installed v7.2.3 and it still gave me the same error like a day later. I rebuilt with the original google collab project you and a few others made, and I used the same credentials on my personal reddit API key.
A side note though, thanks for making the most incredible reddit client on the planet and being so damn persistent in keeping it going. It means a lot considering what absolute cancer of a default option we have. Cheers brother!
Edit: looks like I didn't pay attention to me somehow getting logged out of the app, everything is working for now. I'll update later if anything changes...
Edit 2: I'm paying for a subscription, I didn't compile my own API key. Not sure if relevant but it might be worth mentioning for bigger brains than mine
Reddit could literally erase 3rd party apps by just making the default app not suck ass, but no, they'd rather spend more time and energy fighting a stupid war against them.
I downloaded the new version which seems to be working but now it's telling me I have to pay a monthly subscription for the API. Is this charge the one we were able to work around or is Infinity making us pay now?
I was using it earlier today (about 11:00 am EDT) and it was fine. Just tried to open it and can't. Cleared cache and restarted my phone, but it's still down. I'm running the beta 7.2.2-beta1.
I downloaded the github new application, uninstalled the old one, installed the new one, went to connect my account. There is an error message :
There was an error trying to connect with your reddit account.
You got here because a third-party application wanted to authorize connecting with your reddit account. However an unknown error occurred, please see details below. Please try refreshing the page or coming back later.
Error: Invalid request to 0auth API.
I suppose I just have to wait for a new answer of the dev on this thread. My thanks for this marvelous App !
Reddit fixed the problem and now the new version of thr app isn't working, and I don't have the old version to go back to. Also, I am unable to log in, as I get the Oauth error every time I try.
The post history thing was patched yesterday, so that'll work. It seems that whatever changes reddit did to the post history thing is now directed towards the whole app.
Even other reddit clients are facing the same issue. It raises the doubt that it could be a covert thing by reddit to make using alternative frontends so difficult that they give up.
119
u/Hostilenemy I am the dev May 30 '24 edited May 30 '24
Okay a fix is coming. You can go to GitHub to download the latest version if you don't want to wait. https://github.com/Docile-Alligator/Infinity-For-Reddit/releases/tag/v7.2.3
https://www.reddit.com/r/redditdev/comments/1d3spoc/error_getting_submitted_with_mobile_useragent/
Whatever the change was, it now propagates to all places, not only the user submitted posts.
No worries, a temporary workaround will be available very soon.
Sorry, it's Reddit's fault.
15
u/PanicCenter May 30 '24 edited May 30 '24
7.1.1, currently dead
Edit: updated to 7.2.1, still dead
Edit 2: I'm paying for a subscription, I didn't compile my own API key. Not sure if relevant but it might be worth mentioning for bigger brains than mine
14
u/[deleted] May 30 '24
I'm now convinced it's Reddit intentionally making 3rd party clients worse
11
u/backst8back May 30 '24 edited May 30 '24
Same here, already updated to 7.2.1 with no luck
EDIT: It doesn't seem to be Reddit's API
10
u/HexField1 May 30 '24
Same here it's dead for me, I can still see subreddit lists but it kills the app when I go into any subreddit.
7
u/overelfstone May 30 '24
Same here
7
u/American_Jesus May 30 '24
Reddit changed something with API again, the app was working til 17h GMT.
RedReader is working if want to use it as alternative for now
5
u/lolsomedude456 May 30 '24
On version 6.2.5 here, my feed isnt loading either.
5
u/Getafix69 May 30 '24
At least I know it isn't just me I updated earlier today and it was working great for a while.
5
u/lainwla16 May 30 '24
I just updated and also can't see any posts at all
5
u/squirrelscrush May 30 '24
Yeah I noticed it just now, it happened with my build too.
Someone posted a GitHub issue about this: https://github.com/Docile-Alligator/Infinity-For-Reddit/issues/1648
4
u/[deleted] May 30 '24 edited May 30 '24
Yep. Is broke.
Edit: updated to new version and it's working again
4
u/matega May 31 '24
It's working again without me changing anything.
3
u/kepper104 May 30 '24
Same, I have apk from Google Collab (v 7.1.1) and posts don't load
3
u/reallyGOODatit May 30 '24
I downloaded the new version which seems to be working but now it's telling me I have to pay a monthly subscription for the API. Is this charge the one we were able to work around or is Infinity making us pay now?
3
u/Homolander May 30 '24
Same here. Also same thing happens with Sync for Reddit.
3
u/srb15 May 30 '24
I'm getting this error
Error: Invalid request to Oauth API
I've done a completely clean install, new app and everything. Just chill regular Reddit for now I guess...
3
u/Cardplay3r May 31 '24
Updated to 7.2.3, worked a couple of hours and now the same exact thing again!! What gives?
2
u/NocturneSapphire May 30 '24
Happening to me as well. RedReader seems to be working fine though. I wonder if there's an issue with Infinity's API token.
2
u/cssol May 30 '24
Sync is down too - it can see the post and it can see the content of post on the post page. But it can't load comments, showing error code 400.
2
u/momplaysbass May 30 '24
I was using it earlier today (about 11:00 am EDT) and it was fine. Just tried to open it and can't. Cleared cache and restarted my phone, but it's still down. I'm running the beta 7.2.2-beta1.
2
u/iberico_ham May 30 '24
Same and I also pay for subscription. Ugh this sux
2
u/thigh_highs_demise May 30 '24
Same for me can't load posts.
2
u/KazuharaIlfan May 30 '24 edited May 30 '24
Guess Im just gonna chill here then
Edit. Colab method fixed to latest update. Cheers
2
u/somesappyspruce May 30 '24
I'm getting "invalid request to OAUTH API". The number under the app name is the right one right?
2
u/Proud-Cow-123 May 30 '24
Hostilenemy thank you for you work man!
2
u/Sad-Breakfast4913 May 31 '24
Recompile the app on Colab solved the problem. Thanks.
1
u/YJSubs May 30 '24
Currently using red reader to post this, well at least I'm not the only one.
1
u/spartan421 May 30 '24
If you go anonymous, the posts and comments return and I can browse. If I login, nothing shows.
1
u/momplaysbass May 30 '24
All fixed! Just installed it.
1
u/_87- May 30 '24
I'm using Boost and it stopped working today too.
1
u/Kangouwou May 31 '24
Hey,
I downloaded the github new application, uninstalled the old one, installed the new one, went to connect my account. There is an error message :
I suppose I just have to wait for a new answer of the dev on this thread. My thanks for this marvelous App !
1
u/cssol May 31 '24
Patched an older version using revanced. Working.
1
u/Raetekusu Jun 01 '24 edited Jun 01 '24
Reddit fixed the problem and now the new version of thr app isn't working, and I don't have the old version to go back to. Also, I am unable to log in, as I get the Oauth error every time I try.
EDIT: Downgrading back to 7.1.1 fixed it.
0
u/[deleted] May 30 '24
[deleted] — view deleted comment