Questions tagged [reddit-access-token]
19 questions
3
votes
1 answer
How to request access token for Reddit on Google Apps Script
I have been trying to figure out how to acquire an access token from Reddit API in Google Apps Script. I have below code written so far:
function main() {
var username = 'myredditusername';
var pwd = 'myredditpassword';
var client_id =…

user1330974
- 2,500
- 5
- 32
- 60
2
votes
1 answer
Endpoint to fetch Subreddits of a Reddit Account
I have completed the oauth flow for my third party app against a Reddit account and I've gotten the access token for the account.
Now my next issue is
How can I fetch the subreddits for an account using the access token
I can't seem to figure out…

ololo
- 1,326
- 2
- 14
- 47
1
vote
2 answers
Bad Request 400 when requesting Reddit OAuth2 token
I am trying to use reddit api to send private message on behalf of the user. But I am not being able to complete the Oauth2 authorization to get an access token.
I am following the guide here: https://github.com/reddit-archive/reddit/wiki/OAuth2
I…

Wahiduzzaman Khan
- 155
- 8
1
vote
0 answers
Getting Bad Request 400 while requesting for access token from refresh token Reddit API
Initially i'm getting access token for reddit api by using payload={'grant_type': 'client_credentials', 'duration': 'permanent'} and this gives me access_token as well as refresh token and by using this refresh token, request for access_token but…

Zain Nagi
- 11
- 1
1
vote
0 answers
Can't get Reddit Oauth acces token, I keep getting invalid_grant error
I am trying to build a web app to summarize useful informations and one of the things I want to add is a Reddit widget.
I spent the entire day struggling with Axios because for some reason my request doesn't work. I would just like to say that I…

RichterScales
- 11
- 3
1
vote
1 answer
Unable to Access Reddit Api Implicit Grant Flow Due To Fragment Identifier Before Query String
I've searched pretty hard for an existing answer to this question because I have a feeling that I've made a stupid mistake, so please let me know if this has been asked already and I haven't found it.
I'm trying to make a little installed app that…

Benjamin Hinchliff
- 49
- 1
- 4
1
vote
1 answer
Reddit get ads report API
I'm trying to get the report for an account from Reddit using their ads API.
I did the authentication process according to: https://ads-api.reddit.com/docs/#section/Authentication
When I invoked the report API,…

Yosefarr
- 709
- 5
- 12
- 26
1
vote
1 answer
Reddit gives 403 when upvoting via API
I've registered as the Web app as required by the Reddit API for the Oauth access with identity, edit, flair, history, modconfig, modflair, modlog, modposts, modwiki, mysubreddits, privatemessages, read, report, save, submit, subscribe, vote,…

Sridhar
- 11,466
- 5
- 39
- 43
0
votes
0 answers
How to block a user in reddit using api or praw?
# Create the Reddit instance
reddit = praw.Reddit(
client_id=client_id,
client_secret=client_secret,
redirect_uri=redirect_uri,
user_agent=user_agent
)
all_scopes = ['creddits', 'edit', 'flair', 'history', 'identity', 'modconfig',…

Jim
- 109
- 2
0
votes
0 answers
Getting Bad Request 400 while requesting for access token from authorization code Reddit API
I'm trying to use the reddit API to pull text data for a project, but I can't get the OAuth access token. Instead of responding with the access token, the response just says bad request.
Here's my…
0
votes
0 answers
how do I get Reddit API Authorisation token with only using http request
how do I get Reddit API Authorisation token with only using http request.
I'm very new to API and don't have very much experience. and I am finding Reddit API to be little bit confusing coz unlike other API in reddit first we need to get…

Yardley Bartlett
- 1
- 2
0
votes
1 answer
Unable to post on to reddit despite having all correct credentials with snoowrap
Receiving an invalid grant error despite all credentials being correct. Does anyone know the routes I should post to and what headers and data I should include?
The code I tried is here:
exports.redditPost = async (subreddit) => {
const redditBot…

MandoMando
- 19
- 1
- 2
0
votes
0 answers
Reddit Search Query parameter
I am using a Reddit search query but I am facing one problem. For example a search for a query DOG is returning results with DOGS and i want the exact DOG query results. Is there any parameter that I can use in a search query to get only exact…

taha yab ali
- 1
- 1
0
votes
1 answer
error: "unsupported_grant_type" using reddit API, javascript
During the Oauth process for reddit API, I have gotten stuck at the access token request, getting an error saying 'unsupported_grant_type'. The API documentation says to use grant type 'authorization_code' which is what I have set now. I've tried…

Dschaar
- 1
0
votes
0 answers
Bad respond when trying to get authentication token for Reddit api 'Application Only OAuth'
So i been trying to get access to the reddit api.
I registered to reddit. verified my mail. opened an app and got my credentials.
Followed this official documentation and also came across to this tutorial
All my efforts have failed and don't get any…

codingnighter2000
- 497
- 1
- 7
- 24