reddit Questions

2

Following the OAuth2 login flow described at https://github.com/reddit/reddit/wiki/OAuth2 I got to the point where POST-ing to https://www.reddit.com/api/v1/access_token returns something like this...
Ferino asked 2/2, 2017 at 17:49

2

Solved

I'm working on a bot where I only have the comment IDs, e.g., t1_asdasd. I don't have access to the parent thread or anything. Can I pull the corresponding comment object with just the comment ID? ...
Genvieve asked 20/12, 2013 at 5:7

2

Solved

I'm trying to extract the image post URLs from a subreddit feed, and render <img> elements on my page. Been trying to hack together the .getJSON() Flickr example from the jQuery Docs for a w...
Antonomasia asked 19/11, 2011 at 1:16

1

Solved

Nothing I do works, and I keep getting ridiculous CORS errors and other things. I just want to do a normal oath to log a user in, through the browser. I want to use snoowrap, but I can't even get f...
Intone asked 24/1, 2020 at 16:54

3

Solved

I've been playing about with Go's XML package and cannot see what is wrong with the following code. package main import ( "encoding/xml" "fmt" "net/http" ) type Channel struct { Items Item...
Logrolling asked 29/9, 2013 at 18:8

3

Solved

I'm trying to iterate over submissions of a certain subreddit from the newest to the oldest using PRAW. I used to do it like this: subreddit = reddit.subreddit('LandscapePhotography') for submissi...
Tropic asked 31/12, 2018 at 14:37

3

Solved

I have a Python code that creates a report for a data frame from Reddit, and converts it to simple HTML and then email's it out. Below is the code: #Clean all the Dataframes test_clean = clean(tes...
Arterialize asked 30/5, 2019 at 15:36

1

I would like to generate a list of usernames of users who use a specific subreddit. As far as I know, it is not possible to simply get a list of users who subscribed to the subreddit. If that's no...
Gasparo asked 23/5, 2019 at 7:20

2

As the title says, I'm unable to find the function in PRAW to reply to a post on Reddit. I've written a rather simple bot so far, which looks for new posts on a certain subreddit. My problem is th...
Morocco asked 3/8, 2014 at 0:46

2

Solved

Following on from Select first row in each GROUP BY group? I am trying to do a very similar thing in Google big query. Dataset: fh-bigquery:reddit_comments.2018_01 Aim: For each link_id (Reddit sub...
Hiss asked 15/6, 2018 at 9:49

3

Solved

So I have a list of sub-reddits and I'm using urllib to open them. As I go through them eventually urllib fails with: urllib2.HTTPError: HTTP Error 429: Unknown Doing some research I found that ...
Disorganization asked 3/11, 2012 at 20:10

3

Solved

I'm trying to scrape new stories from Reddit using their API and Python's urllib2, but I keep getting JSON documents like this one: { u'kind': u'Listing', u'data': { u'modhash': u'', u'children': ...
Chimera asked 11/11, 2012 at 5:18

3

Solved

I am interested in obtaining data from different reddit subreddits. Does anyone know if there is a reddit/other api similar like twitter does to crawl all the pages?
Magel asked 14/1, 2013 at 16:48

1

Solved

I'm retrieving comments from the Reddit API. The model is threaded such that each Comment can internally have a List of Comments, named replies. Here's an example of how a JSON response would look:...
Lawanda asked 15/2, 2018 at 5:12

1

Solved

I am doing data mining on Reddit data on Google BigQuery and I wanna top 1000 posts ranked by the score for each subreddit for the whole 201704 data. I have tried different techniques but due to th...
Oversubscribe asked 18/6, 2017 at 0:21

3

When a user shares content from my website, often the image appearing in the thumbnail is the logo of the website instead of the image itself. How can I tell reddit to ignore the logo ? I searche...
Aceous asked 24/5, 2017 at 9:54

3

Solved

The official way, r = praw.Reddit('Comment Scraper 1.0 by u/_Daimon_ see ' 'https://praw.readthedocs.org/en/latest/' 'pages/comment_parsing.html') submission = r.get_submission(submission_id='11...
Delgado asked 1/4, 2016 at 21:49

2

Solved

I am trying to use the Reddit API to save a post. I know I am formatting the request wrong, but I can't seem to find any documentation on how to do it correctly. If anyone could either lead me in t...
Semipalatinsk asked 3/4, 2017 at 7:54

1

Solved

There are more than a million subreddits on Reddit, according to redditmetrics.com. I wrote a script that repeatedly queries this Reddit API endpoint until all the subreddits are stored in an arra...
Deglutinate asked 14/4, 2017 at 2:1

2

Solved

I'm using the following code to obtain reddit search results with PRAW 4.4.0: params = {'sort':'new', 'time_filter':'year'} return reddit.subreddit(subreddit).search('', **params) I'd like to sc...
Greatgrandaunt asked 7/3, 2017 at 21:27

2

I wonder if it is possible to get a permanent access token for personal use on Reddit? It will only be me using the App. For users, the access token expires after an hour. My using the below inform...
Turnspit asked 10/3, 2015 at 3:11

1

On link posts, the reddit scraper is not scraping an image from my site for a thumbnail and I cannot see why. I have followed any small snippet I could find about it which basically said. Use a ...
Smalto asked 5/1, 2017 at 6:24

5

Solved

I am using retrofit to create an Android Client for the Reddit. At logcat to get the toke is work fine, but when I am trying to get the information of the login user, I am getting "404 Not Found". ...
Untangle asked 15/10, 2016 at 9:53

1

Solved

I have a json array with multiple comments which can be nested. exemple: [ { "author": "john", "comment" : ".....", "reply": "", }, { "author": "Paul", "comment" : ".....", "reply": [ ...
Negate asked 17/9, 2016 at 22:30

2

Solved

I'm developing a reddit bot that needs to know which user submitted a comment. According to the PRAW API wrapper docs, there's no specific way to get the username of a Comment object's author. Id...
Thorn asked 29/12, 2013 at 6:42

© 2022 - 2024 — McMap. All rights reserved.