Social Networking :: Open Authentication Page In Popup In Snippets FaceBook API
Sep 4, 2013
I am following your code. In "FaceBookConnect.Authorize", if a user is logged in in Facebook, it prompts for authentication. But if the user is not logged in, it redirects to facebook home page. I would like to create a pop up instead. Is it possible to do so?
In this example ... Im getting error once im logged in no issue ... after that i tryed another login id the previous id details shown in that Lable ...
The exact place for that error ...
FaceBookConnect.API_Key = "app key"; FaceBookConnect.API_Secret = "app secret code"; if (!IsPostBack) { if (Request.QueryString["error"] == "access_denied") { ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('User has denied access.')", true); return; } string code = Request.QueryString["code"]; // here code takes Null for 2nd login if (!string.IsNullOrEmpty(code)) { string data = FaceBookConnect.Fetch(code, "me"); Facebooklogin faceBookUser = new JavaScriptSerializer().Deserialize<Facebooklogin>(data); faceBookUser.PictureUrl = string.Format("https://graph.facebook.com/{0}/picture", faceBookUser.Id);
I need to develop a login where user can login from his facebook account. When user login first time, an auth dialog should open from facebook asking to user for access permission and than it should move to one of my page where I can retrieve user email address and first name & last name through his facebook access token. How to achieve this?
I'm using the ASPsnippets solution for Facebook login, it works fine but I want to display it into a popup instead of a page. I can't find in the code that part to configure.
How to authenticate the visitors on my website using facebook authentication but when user logged on my website through facebook authentication at the same time visitors username, password and email must be registered with my database as well, so next time user can logged in through facebook authentication or through my website username and password as well.
I see that only name,group,email address we can access at facebook send button. How can i send to my facebook page wall (where i am admin) by clicking facebook send button. It's by default don't show it.
i have made a gridview which contains three fields, two textboxes and one combo box. ComboBox fetchs data from table(SQL) and when a combox box triggers, data related to combo must be added in two boxes. i did this throw another button, but i want this to be trigger directly when it clicks..
I have seen your codes to integrate facebook in our application but in none of the code you have written how to logout once authenticated in facebook. I am asking this bcoz facebook session has been started so need to provide user with logout button.
I have tested the solution in the tutorial for getting users information from Login with Facebook (AspSnippet dll). My answer: is it possible to get also First name, Last Name?
I have gone through your articles and I really enjoyed with all the facebook articles. In my aspx page in place of posting walls I want to send notification to facebook users. How can I do this.
I have listview which has bind with database, i need facebook share button with each record in list view and when user click the post share on the facebook wall.
i want to show the post which user has click on to share on facebook not whole page e.g
listview is bind with sql and fetching following record
1. record one <facebook share button> when user click on this button so record one should be share on facebook wall.