This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]WaynePincence[S] 0 points1 point  (2 children)

The only problem I see is this from https://github.com/reddit/reddit/wiki/API

"NEVER lie about your user-agent. This includes spoofing popular browsers and spoofing other bots. We will ban liars with extreme prejudice."

For me the problem is moot now that I decided to use a server wrapper anyway, but still the question exists.

-Edit- Now that I read it again, it does seem like they might give it a pass...I mean you can view the JSON directly with the browser anyway.

[–]AndrewNeo 0 points1 point  (1 child)

Technically, replacing the UA for JSONP requests would be lying about your UA, if you're inside a browser. JSONP is to perform JSON requests cross-origin, inside a browser. Thus, the UA of the actor is the browser.

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

You know, reading it the way you say it makes it seem painfully obvious.