PandaWhisperer / meteor-accounts-reddit

Reddit OAuth2 login service for use with Meteor
MIT License
2 stars 0 forks source link

User agent required? #5

Closed wtfaremyinitials closed 9 years ago

wtfaremyinitials commented 9 years ago

Looks like the reddit api wants Meteor to set a user agent. How can this be achieved? Documentation for what can be passed into Meteor's requestCredential method seems pretty sparse.

W20150126-16:36:39.719(-6) (oauth_server.js:398) Error in OAuth Server:
Failed to fetch identity from reddit. failed [403]
<!doctype html><html><title>Ow! -- reddit.com</title><style>body{text-align:center;position:absolute;top:50%;margin:0;margin-top:-335px;width:100%}h2,h3{color:#222;font:bold 200%/100px sans-serif;margin:0}h3{color:#777;font:normal 150% sans-serif}</style><img src=//s3.amazonaws.com/redditstatic/youbrokeit3.png alt=""><h2>user agent required</h2><h3>please review our <a href="http://github.com/reddit/reddit/wiki/API">api rules</a>. thanks.
albertstartup commented 9 years ago

still trying to figure it out but ill just leave this here https://github.com/meteor/meteor/issues/981, will update if i fix it