Seach Box
Grievance/Feedback
'); $.ajax({ url: '/grievance/index/facebook/', success: function(formHtml){ var token = response.authResponse.accessToken; FB.api('/me', function(user){ showLightbox('Hello, '+user.name+' (Logout)
'+formHtml+''+
'
');
}
else
{
// User is not logged in
showLightbox('You are not authorized to use this service. You are seeing this error because your facebook account is banned/block due to illegal activities.
'+ 'You may try to logout now and login again with different user using the button below
'+ 'Logout'+ 'Login with Facebook'+ ''+
'
');
}
});
}
else
{
showLightbox('You can submit grievance using your facebook account. Please login using your facebook account.
'+ 'Login with Facebook'+ ''+
'
');
}
return false;
}
function fbLogin()
{
showLightbox('Failed to connect facebook. Reload your browser and try again.
'+ 'Waiting for your authentication...
You have logged out successfully.
Error submitting your message. Please try again here
Successful ID:'+result.id+'. You can logout now