Reddit API OAuth C# .NET Example

I had a need to connect to the Reddit API via C# .NET, and thought I'd put this little tutorial together since most I found were in java or python.


Note: General Reddit OAuth API info: https://www.reddit.com/dev/api/oauth


1. Go here and make an app: https://www.reddit.com/prefs/apps

2. Use the values from the app you created above, in this code sample:
  gist: https://gist.github.com/aaronhoffman/b59585d507601b05d8db02493eaaf73e
  more info: https://github.com/reddit/reddit/wiki/OAuth2

3. Make API requests:
  gist: https://gist.github.com/aaronhoffman/b59585d507601b05d8db02493eaaf73e


Check out the result here:

interactive data visualization




Hope this helps,
Aaron












Post a Comment

Popular posts from this blog

How to Turn Off Microsoft Arc Touch Mouse Scroll Sound Vibration

Hacker News Dataset October 2016

VirtualBox Right-Click Windows Taskbar On Mac