Make it really default to oauth2 #72

Closed
olegueret opened this Issue Dec 12, 2011 · 1 comment

Comments

Projects
None yet
2 participants

This should be solved by commit 1726658 but it seems is not:

Issuing a Facebooker2.oauth2 on the rails console returns false (with facebooker2 (0.0.14)) when oauth setting is NOT set in facebooker.yml, so it seems that it doesn't really defaults to oauth2.

It's possible that this code in self.configuration=(hash) of facebooker2.rb overwrites the oauth2 variable when it's NOT set in the config file?

self.oauth2 = hash[:oauth2].blank? ? false : true
Owner

mmangino commented Dec 12, 2011

Thanks! I just fixed this.

mmangino closed this Dec 12, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment