After i login using Facebook connect,I need to redirect user to particular URL.The below code works in firebox.but not in chrome.please help me
<script type="text/JavaScript">
FB.init({
appId: '366168323431073', cookie: true,
status: true, xfbml: true
});
FB.Event.subscribe('auth.login', function () {
window.top.location = "http://www.domain.com";
});
</script>
change the redirect uri in your app
or
?>