I'm trying to get my app to work with the twitter gem, but I can't seem to perform the authorization protocol using OAuth2. I'd like to know if there is a sample app available so I can see what I'm doing wrong.
Thanks
I'm trying to get my app to work with the twitter gem, but I can't seem to perform the authorization protocol using OAuth2. I'd like to know if there is a sample app available so I can see what I'm doing wrong.
Thanks
I don't know what authentication engine is used by you, but here are some examples with omniauth + devise gem.
https://github.com/holden/devise-omniauth-example
https://github.com/bradrobertson/devise-omniauth-example
https://github.com/plataformatec/devise/wiki/Example-Applications
I maintain a sample app that demonstrates how to use the "Sign in with Twitter" workflow using the twitter gem and OmniAuth. You should be able to figure it out by looking at that.