ethanarbuckle / apollo-customapicredentials Goto Github PK
View Code? Open in Web Editor NEWTweak to use your own reddit API credentials in Apollo
License: GNU General Public License v3.0
Tweak to use your own reddit API credentials in Apollo
License: GNU General Public License v3.0
When holding down on an image or video and then clicking share the app crashes.
Thanks for this tweak, it's awesome! That being said, every time I leave the app and come back or I view an image/video and then go back to my feed the informational Apollo API popup happens meaning I have to constantly hit "continue" in that popup to keep using Apollo. I've already gone through the steps to add a custom API key and it's working great. It's just the constant popup that's annoying.
The popup i'm talking about is the one in the screenshot below
Apologies for the post here. Doesn't appear this repo has discussions enabled.
Anyone know if something like this project is possible for other reddit apps? Jumping between Apollo and ReddPlanet but the latter's token expires after 24h (using mitmproxy) so I have to reconnect to my proxy to grab a new one via the API because I think the original app's client ID is hardcoded for the refresh request. Even something that just hijacks the access_token post request would be good enough lol
I noticed this class but not sure how I could change to work with other apps. Any input is appreciated! :)
Even with the script and checking the boxes, getting an error that says
Error: Error fetching oauth client.
at request OauthApp
I have ticked the Cydia substrate boxes, included the dylibs, sideloaded the spoofer.
Logged mitm to see and it was correctly sending a get request from my supplied API key, but seems like the redirect is wrong
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
It'd be nice to add the ability to back once more to track certain subreddits.
Recently Reddit started implementing a new format for share URLs on their mobile apps. This is not supported by Apollo.
how it breaks Apollo
When a user clicks on one of these links, instead of being pushed to the post or comment in question, a WebView opens. This page is often broken if the share link is to another comment, or NSFW post.
Example:
share_id
)Now that the Apollo backend is open source, would it be possible to redirect requests intended for apolloreg.com to some custom domain? I'm not super experienced with iOS tweaks (I'm used to modifying android apps) but it seems like it could be accomplished either by modifying the actual binary, or through a tweak like this one?
While sideload compatibility be added?
I'm not sure that this is specifically an issue with the tweak or just sideloading the app in general, but i'm unable to change the icon for the app.
It says "Error Setting Icon. There was an issue setting the icon. If this persists contact the developer."
I'm not sure if this is something that could be fixed in this tweak, but it would be nice for us sideloaded users.
On NSFW subreddits (still accessible if you are a mod on any subreddit), many videos from Imgur display an error that says “Imgur error :( Tap to open in browser.” Tapping it leads to an error that says “Oops! We couldn’t find that page.” However, long pressing it results in the video playing correctly.
This issue actually predates Apollo’s shutdown, but since it happened so close to the end I can’t blame Christian for never fixing it. Is there any chance of it being fixed here?
Hey! How is it possible to get the widgets working? Thanks
IOS 16.5.1 / iPhone 11 Pro
I've tried now for some time to get it working only to be foiled by Apollo (patched) crashing on startup.
What works so far is:
Sideload spoofer disabled & no THEOS_PACKAGE_SCHEME=rootless
but that only gets me to the Testflight version that logs you out after a while. Kinda like in #3 .
I've hit a roadblock when trying to make package with me being given the following:
nonrootXXXXX@MYPC:~/Apollo-CustomApiCredentials$ make package
Makefile:14: /tweak.mk: No such file or directory
make: *** No rule to make target '/tweak.mk'. Stop.
I'm not sure if this is also directly related, but I have a theory that it might be related to how I can't properly install the swift toolchain as seen below. I'm on my non-root user which has SU perms, but no matter what I do I can't get it to installed.
``
==> Checking for iOS toolchain...
==> A toolchain does not appear to be installed.
Warning: Failed to create the file swift-5.3.2-RELEASE-ubuntu20.04.tar.zst: Warning: Permission denied curl: (23) Failure writing output to destination
I noticed a weird issue where you can log into your reddit account (post, view saved posts, etc), however once you close and reopen apollo it reprompts to sign in.
Some users of the Infinity (Android client) subreddit have mentioned that anyone trying to get the app running on their device with their own API key should also modify the redirect URL, and user agent being sent to Reddit.
Currently, this tweak only allows you to modify the API key i.e., clientIdentifier
. It would be great if we could also customize the redirect URL and user agent being sent to reddit (like a custom app would do).
Does anyone know how many api calls apollo normally uses? More importantly is it possible for apollo to exceed 100 api calls per min on normal use?
Another issue we may run into is prior to logging in apollo would be limited to 10 api calls per min (ie not using Oath). I was wondering if their is a way to prevent apollo from loading any messages prior to logging in (in order to avoid triggering a rate limit on first login).
As of July 1, 2023, we will enforce two different rate limits for those eligible for free access usage of our Data API. The limits are:
If you are using OAuth for authentication: 100 queries per minute (QPM) per OAuth client id
If you are not using OAuth for authentication: 10 QPM
iOS Version: 16.5
App version: 1.5.11
Sideloaded with AltStore
Every time I close the app it logs me out and I need to log in again.
When I enable sideload spoofer and change bundle ID, it just crashes on open. I also tried to sideload with Sideloadly but it still crashes.
If I just change bundle ID the app opens but has the logout problem.
When trying to sign in with reddit, I get an error trying to connect the reddit account. I see an issue talking about this that was closed, but no solution seems to have been mentioned.
Hi guys, im getting an error on the 'make file' step.
https://i.imgur.com/GXAlj6C.png
Any suggestions would be great!
I see that the code updated with Imgur support but how do I actually use it? I am registering an application in Imgur and it asked for callback. So what would I put? There’s also rapid api key that would require so much money to register 👀. Further advise needed.
thanks!
Ontop of the auto-sign out whenever the app is closed. Sideloaded Apollo won't unlock the ultra features in sandbox (even tho it recognizes as the Testflight version. Idk if there is a way to fix that. I know notifications wouldn't work. That's totally fine. There's just plenty of good ultra features we'd hate to lose.
I will check if potentially an Apollo Ultra crack .deb would work alongside this tho!
EDIT: Nah. It doesn't work, for some reason jailed devices think a sideloaded Apollo .ipa is from TestFlight and the crack doesn't account for that. :/
Also, maybe there is already and I just don't know. But having something in the settings or about page or something confirming it's using your API would be cool. Just to know everything is working properly. Cuz otherwise it's hard for me to know whether it's my API or the standard public one. :)
Shoutouts to Ethan and all of their hard work here. Seriously a champ. Appreciate you!!
I compiled the .deb myself after I added the imgur client ID.
Then I sideloaded it using Sideloadly. I added the compiled deb file, checked Cydia Substrate and Sideload Spoofer. I also changed the bundle ID.
The login pops up (although the Sign in with Google button is missing), I can login and the apps page pops up. I do the captcha and click Create app. Then nothing happens. If I close the page manually the app freezes and when I restart it I need to add the app again.
Same happens if I don't check Sideload Spoofer.
I patched an Apollo IPA with this tweak using theos-jailed, and while it works great, it seems to log out every time the app is restarted. Any ideas why this may be?
I noticed after clicking on a picture or a link, the api configuration screen keeps being called.
Attached is a video to show the behavior.
How do I install this new version of the patch? There are only instructions how to create an API key, not how to side load the app itself.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.