Quantcast
Viewing all articles
Browse latest Browse all 959

Answer by Graham Dunnett

I've never logged into Reddit before, but, looking at the links in your question, yes, that looks to be all you need to log in through script. The `using MiniJSON;` does mean the code in the `MiniJSON.cs` script is used/needed. One word of advice. I'd **strongly** urge that you experiment logging into Reddit using a tool like Poster, before you try to do this from Unity. Poster is an add-in to Firefox that lets you make GET/POST/PUT/etc requests to a remote site, and shows the (often) xml response. Poking the Reddit REST API this way will teach you all you need to know about the API. Once you know what URLs to hit, what headers are needed, and what can go wrong, you'll be all set to do this from Unity. If you dive straight into Unity you'll not know if any problems are due to Unity, or how you're accessing Reddit.

Viewing all articles
Browse latest Browse all 959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>