Hey everyone! Hopeing someone might be able to help with Reddit OAuth2 API using API Connector.
I’ve read through the documentation, set up the app with Reddit, and should be good to go on their side.
When I initialize I get that what’s being returned isn’t JSON. When I switch the data type to XML, I get back a ton of fields, but it looks like Reddit is returning an HTML message , which I assume is an error of some type. When I try to look at the raw data, my browser freezes…it’s a lot of data. I’m assuming it doesn’t make a difference anyway, because it’s supposed to be returning JSON, but not. I put a screen shot of the first portion of the returned values, but pretty sure it’s an error.
I have a simple use case. I’d like to do a dynamic search (q) and return the top relevant posts, then save the title, post date, and url to my database. So, no user posting or logins required.
Resources:
Reddit OAuth2 Documentation: OAuth2 · reddit-archive/reddit Wiki · GitHub
Reddit API Specifications: reddit.com: api documentation
Here’s what I’ve got so far
What I get when I switch to XML as data source
Thanks for the help!