I'm currently trying to get a users saved posts using the JRAW reddit api wrapper using this code:
val helper = App.get().accountHelper
val paginator = helper.reddit.me()
.history("saved")
.build()
val saved = paginator.next()
Context for App class
Which always results in a 403 - Forbidden. I log in and get the oauth token by using JRAW-Android new user example then switch to the user accountHelper.switchToUser(userName)
which shows the account is authenticated..
Any ideas why i'm not able to authenticate?
Didn't realize Reddit had scopes. I had to add the history
scope to the strings array when requesting getAuthorizationUrl
String[] scopes = new String[]{ "read", "identity", "account", "save", "history"};
String authUrl = helper.getAuthorizationUrl(requestRefreshToken, useMobileSite, scopes);
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
My question is near this question: how to run wifi peer to peer application in android emulator?
I have a list of authenticated users and I want the Firebase to accept email ID only if that email ID isn't in use or does not exist in my Firebase Database
We have two apps: My Android app that I developed and the Facebook appAlso, I have an Android Service that is implemented inside my app, and it does the following: It keeps listening and once it receives a message from a client (i
This question already has an answer here: