I am developing rails 4 application.
I required two facebook buttons on index page where 1 for facebook sign up and other for facebook login.
Scenario 1: If user click on FB sign up button, the user register's using omniauth and gets redirected to a form for further signup details as per the project flow.
Scenario 2: If user click on FB login button, User is authenticated through omniauth and is redirected to home page
I can manage 1 button using omniauth but how to manage second one. How i know which button user click.
Any way to i can pass any parameter to facebook and FB return it when response us.
Any thing else
Thanks