r/revancedapp • • May 30 '24

Question/Problem Did reddit break third party apps dev token patch?

[removed] — view removed post

223 Upvotes

275 comments sorted by

View all comments

22

u/Thuringwethon May 30 '24 edited May 31 '24

EDIT: In less then 24h Reddit has fixed the issue (!?). Any Reddit client that was working before that, should do so again. No action is necessary, have a nice day


previous content:

Looks like, they blacklisted "android" keyword in user-agents (for API not website). Probably intentional to break compat.

ReVanced patches doesn't deal with changing useragents so new, additional patches will have to be made probably.

I have compiled Infinity for Reddit with own API key and changed ua and it does work (using Google Colab Script).

11

u/GrimResistance May 30 '24

If someone could make a version of RiF that just scrapes the website instead of using the api I would definitely pay for it.

2

u/Infinitesima May 30 '24

Then how would you sub to subs, comment, upvote, save, ...?

2

u/therealmeal May 30 '24

By having it issue the proper POST requests -- same as what the links on the website do?

3

u/Infinitesima May 30 '24

hmm, there were reasons 3rd party apps chose the API path instead of scraping and emulating web requests.

1

u/deprecateddeveloper May 30 '24

I'm wondering if we can just create a browser/wrapper app displays old.reddit.com and changes the styling of the CSS and structure of the HTML. So in a sense, the "app" would just be a browser with custom changes like you would in the dev console but allowing users to change it to their liking and persisting it. I wish I had time to mess around with this. My only concern is if reddit changes naming conventions of div IDs/classes every time you load the site similar to how instagram/facebook does on their websites.

7

u/vishykeh May 30 '24

Is something similar available for boost?:/ srsly fuck reddit

3

u/Thuringwethon May 30 '24

Infinity is foss so it can be compiled from source code (and some folks made it extra easy for common folks).

Most other Redddit clients were not.

So we have to rely on tools (like revanced) that allows to modify compiled apps. So let's hope it get's updated (at some point) to address this issue.

1

u/WhiteMilk_ May 30 '24

Yeah, I've been using same modded Joey from Mobilism since way before reddit 'killed' 3rd party apps by being a mod in my own private sub. But that too seems to be dead.

1

u/moonflower_C16H17N3O May 31 '24

How did you change the UA using this script?

1

u/Thuringwethon May 31 '24
  1. Click "show code" button or chevron icon on first "Setup the environment" step.
  2. Edit code on 12 line
    user_agent = f"android:personal-app:0.0.1 (by /u/{your_reddit_username})"
    (just remove "android" or replace it with smh like "mobile")
  3. Launch first, then following steps to build apk