michaelachrisco / subreddit-recommender

Recommends Subreddits on Rails
MIT License
5 stars 1 forks source link

Change user-agent string sent to reddit.com #38

Open stephengtuggy opened 8 years ago

stephengtuggy commented 8 years ago

See https://github.com/reddit/reddit/wiki/API , 4th bullet under "Rules" heading.

michaelachrisco commented 8 years ago

Ill look into this one and add it to the gem.

michaelachrisco commented 8 years ago

I looked into it and got user auth working on the gem side...but it didn't provide any real benefit since we are just looking at json end points rather than official authenticated API end points. It would be a different story should we decide to pull in user information such as the user subscribed subreddits for relational comparisons. If that is the case, I see another gem or package on the rails side that pulls in the users subreddits such as these examples: https://github.com/reddit/reddit/wiki/API-Wrappers