Hi
I had open a pop up window for a user to login from FACEBOOK. After processing his e-mail address I want to close that window and pass parameter to my Sign page whether it is successfull login or not. If user email address is already in my database than I want to redirect him to Home page and if not exists than I want to show a message to the user at Sign In page.
<asp:ImageButton ID="imgFB" runat="server" ImageUrl="http://localhost:49283/DealPin.Web/DealPinImages/facebook.jpg" OnClientClick="window.open('https://www.facebook.com/dialog/oauth?client_id=xxxxxxxxx&redirect_uri=http://localhost:49283/mysite/LoginwithFacebook.aspx&response_type=token','_blank', 'location=yes,width=700,height=400'); return false;" />