I want to authenticate the user using facebook login credentials. Everything works, except for the fact that it does not redirect to the redirect_uri specified which I require to capture the signed_request. Any help is hugely appreciated.
Below is what I have
#fb-root
%script{:src => "http://connect.facebook.net/en_US/all.js"}
:javascript
FB.init({
appId:'my_client_id_from_the_app_i_created', cookie:true,
status:true, xfbml:true
});
%fb:login-button{:perms => "publish_stream", :redirect_uri => "#{facebook_signin_url}"}
Login using your facebook account.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…