Facebook Authentication Without Redirect? -


is there way use facebook authentication (the oauth 2.0) without redirecting?

i not using facebook login button, supposed redirect https://www.facebook.com/dialog/oauth? client_id=your_app_id&redirect_uri=your_url, don't want redirect user outside of page. there way open url in popup window (how do btw?), , catch sessionchange event when working normal facebook login button?
using jquery , pyramid.

thanks!

i made application client couple weeks ago behavior using facebook js sdk

fb.login(function(response){         if(response.session){         var user_id = response.session.uid,             access_token = response.session.access_token;         }     } ); 

you can send access_token server ajax if want. careful if you're using ajax, session expire if don't make calls fb.getloginstatus() every often.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -