SoapSeller / omniauth-facebook-access-token

51 stars 68 forks source link

how to set up the route? #6

Closed beno closed 10 years ago

beno commented 10 years ago

I don't quite understand how the routes.rb needs to be set up. Can someone provide an example please.

SoapSeller commented 10 years ago

Hi beno!

omniauth-facebook-acess-token is a strategy for omniauth(https://github.com/intridea/omniauth) please read the documentation over there.

If you have any questions regarding omniauth-facebook-acess-token in particular(as I believe that omniauth-in-general questions are best answered in stackoverflow) afterword, please feel free to shot me an email at my-nick at gmail.com.

In any case -- issues are not a place for asking questions about specific usage-cases for a project. It is a place to open an issue if you feel that the project lacks documentation(which I don't feel it's the case here).

--Dor

beno commented 10 years ago

Yes, thanks, I figured it out.

The confusing bit for me was the example route in de readme, which didn't work for me, I guess this assumes a certain route config? Maybe an example route like

devise_for :users

with corresponding route

/users/auth/facebook_access_token/callback

would clarify things a bit.

BTW, did you know you inspired the twitter version: https://github.com/tdegrunt/omniauth-twitter-access-token, perhaps a pointer to it could be helpful since these often go hand in hand.

Anyway, thanks a lot for your work!

Brdgs, Michel

On 18 dec. 2013, at 19:40, SoapSeller notifications@github.com wrote:

Hi beno!

omniauth-facebook-acess-token is a strategy for omniauth(https://github.com/intridea/omniauth) please read the documentation over there.

If you have any questions regarding omniauth-facebook-acess-token in particular(as I believe that omniauth-in-general questions are best answered in stackoverflow) afterword, please feel free to shot me an email at my-nick at gmail.com.

In any case -- issues are not a place for asking questions about specific usage-cases for a project. It is a place to open an issue if you feel that the project lacks documentation(which I don't feel it's the case here).

--Dor

— Reply to this email directly or view it on GitHub.