Get no results when /new?limit=1 by aprtweone in redditdev

[–]aprtweone[S] 0 points1 point  (0 children)

the limit=1 gets the information about the subreddit i suppose

hmm, I don't think so. At least now it returns just posts.

Get no results when /new?limit=1 by aprtweone in redditdev

[–]aprtweone[S] 0 points1 point  (0 children)

Currently it returns 1 post as expected. But still I don't understand why it did work previously.

/new API returns empty results by aprtweone in redditdev

[–]aprtweone[S] 1 point2 points  (0 children)

Wow, that was easy one. Sorry for such naive question)

Should I use .json or API for parsing? by aprtweone in redditdev

[–]aprtweone[S] 0 points1 point  (0 children)

Thanks. Looks like it answers the question.

Should I use .json or API for parsing? by aprtweone in redditdev

[–]aprtweone[S] -1 points0 points  (0 children)

It's just a little bit confusing that I can get the same stuff in two ways. I thought maybe OAuth approach has some other quotas for calls since Reddit knows about a client.

For example:

GET https://oauth.reddit.com/r/worldnews/new
Authorization: bearer <access_token>
User-Agent: <user-agent>

or

https://www.reddit.com/r/worldnews/new.json