Closed euank closed 7 years ago
This is good, thanks. I'm gonna hold off on merging it for now as I plan to have OAuth implemented very soon, so I'll keep that for the version 2 bump.
@euank could you send another pull request with just commit b7ec6d8 as it's useful however is still backwards compatible.
@BukhariH: added as #15
@euank Thanks Euan!
is oauth coming in?
@jtoy Yep, sorry for taking so long on that, I keep getting distracted by everything else. I'll be taking a look at that on Thursday.
Just checking, is there a timeline for oauth?
Quite soon – I'm working on it as we speak. Sorry for taking so long with it, I've recently started a new job so life has been pretty hectic.
hi :)
@jtoy There is no easy way to implement oauth without messing it up massively. And, you don't have to look far to see some example's of poor oauth implementation (which aren't due to bad developers).
An example being GitHub: http://homakov.blogspot.co.uk/2014/02/how-i-hacked-github-again.html
Implementing it the right way is about atleast 2-3 weeks work.
Secondly, we have to decide how do we want to implement it. Do we want to Faraday and Oauth using middleware or do we want a separate library like oauth2 working in conjunction with faraday?
Apart from that reddit's documentation for Oauth is terrible. There is literally only this page: https://github.com/reddit/reddit/wiki/OAuth2
I don't actively use this library anymore and I'd need to rebase.
If this change is still needed, anyone else is welcome to pick up my changes and carry them, but I'll just close this since I have no plans to act further here.
Register api documentation was inaccurate and required captcha items were in the options hash. Email was also missing.
The version bump I'm not sure you actually want. Feel free to disregard it or ask me to redo the pull request without it.