EthanArbuckle / Apollo-CustomApiCredentials

Tweak to use your own reddit API credentials in Apollo
GNU General Public License v3.0
769 stars 142 forks source link

API Credentials not pre-filling or being acknowledged when manually entering #27

Closed zeldridge closed 1 year ago

zeldridge commented 1 year ago

I sideloaded this app with sideloadly and injected both:

But the banner up the top doesn't change to "select "create app"" and prefill the fields. I tried manually typing the api info, it doesn't do anything to the app either.

How can I solve this? I am not JB if that helps

nicko88 commented 1 year ago

Same here.

After I log in, it goes to the developer page and there is only a create new app button on the bottom that I can click, but when I click it, it opens the create new api fields and they are all blank, nothing is automatically populated.

If I fill in stuff and create then it doesn't seem to load anything into the apollo app at all.

Not sure what I could be doing wrong. It doesn't work like the animation in the readme.

EthanArbuckle commented 1 year ago

Looking into this. Does your account already have an app / API credential created?

nicko88 commented 1 year ago

I do have a previous api key set up.

I used the previous version of your code that I had to compile myself.

But I wanted to switch to this update so that I can have a randomized user-agent.

EthanArbuckle commented 1 year ago

I was able to reproduce this with an account that has an existing API credential created. I deleted the existing app (in a desktop browser) and then re-opened Apollo, and the tweak started working correctly.

I'm working on a fix, and i'll also add some type of fallback in case the automation breaks again in the future (It won't surprise me if reddit tries to break things intentionally at some point)

Apologies for the issues!

nicko88 commented 1 year ago

No worries, I really appreciate the work on this.

Hopefully it's not too much effort and hopefully this tweak can last us a long time.

EthanArbuckle commented 1 year ago

this should be fixed in v1.0.1: https://github.com/EthanArbuckle/Apollo-CustomApiCredentials/releases/tag/v1.0.1-1