FB.login(function(response)
if (response.authResponse)

var date = new Date();
date.setTime(date.getTime()+(response.authResponse.expiresIn*1000));
var expires = “; expires=”+date.toGMTString();
document.cookie = “wp_fbs=”+response.authResponse.accessToken+expires+”; path=/”;

var param = insertParam(‘fb_login’, ‘1’);

if( jQuery(‘#modal-login input[name=”redirect_to”]’) != undefined
&& jQuery(‘#modal-login input[name=”redirect_to”]’).attr(“value”) != undefined
&& jQuery(‘#modal-login input[name=”redirect_to”]’).attr(“value”).length > 0)
param = param + insertParam(‘redirect_to’, jQuery(‘#modal-login input[name=”redirect_to”]’).attr(“value”));

document.location.search = param;
}
}, scope: ’email’);

}

<!– Start GA Outbound Link Tracking –><!– End GA Outbound Link Tracking –>

Link: 

Kim Kardashian's Champs-Elysees Stroll (PHOTOS) – Celebuzz