Social Networking :: How To Fetch Facebook Code Parameter Using Graph API
Nov 16, 2013This tutorial nice. Here I have one problem..that is how can i get Code value... In pageload
string code = Request.QueryString["code"];
This tutorial nice. Here I have one problem..that is how can i get Code value... In pageload
string code = Request.QueryString["code"];
I just visit this [URL] .... but how can we trace postcode from facebook?
View 1 RepliesI am following your code for integrating facebook authentication.
It really works fine, but as per your post at [URL] ....
We cant use dll to logout from facebook. Is there any way around or do we need to use use facebook sdk for just logging out?
i want a code to search a friends and send a request (add to my friend)
View 1 RepliesRegarding your facebook api in aspsnippets, and the article [URL]..... , I can get the facebook user id, name, email, gender, birthday. But I cannot get UserName. When running website, the lblUserName is blank.
View 1 RepliesI have two friends in facebook
the name of the first friend is : jad .
the name of the second friend is :rima .
How I can get the mutual friend list between jad and rima .
How can retrieve Phone numbers from Facebook API.
View 1 RepliesHow to use read_mailbox function to use to fecth the user data..and Provides the ability to read from a user's Facebook Inbox. in asp.net c#.. I am using aspsnippet namspace in my project..
View 1 RepliesI am developing an ASP.Net site where I need to access Facebook site. I want to know how can we register and get API key...
View 1 Replieshow to post feed OUR wall. now, my friend wall, using their ID.tried with
FaceBookConnect.Post(ViewState["Code"].ToString(), "/<friend ID>/feed", data);
--> failed :-(
FaceBookConnect.Post(ViewState["Code"].ToString(), "/<friend ID>/notes", data);
--> also failed
also tried with : "/<friend ID>/notes" which also failed.
i want a code that i can get the list of friends want to add me in facebook . i want to accept the add or refuse
View 1 RepliesImporting contacts (information like friends email ids) from facebook to excel using asp.net
View 1 RepliesI was implementing codes taken from[URL] .... and [URL] ....
It works fine separatly but when i want to integrate it gives me an error "Bad Request......"at so how can i get user info and his friend list on login button.
protected void Login(object sender, EventArgs e)
{
FaceBookConnect.Authorize("user_photos,email,friends_photos", Request.Url.AbsoluteUri.Split('?')[0]);
}
protected void Page_Load(object sender, EventArgs e)
[Code] ....
I want to display all facebook wall post in my application in .net
View 1 RepliesI have read your article Fetch and import Facebook Friends and Contacts with profile pictures in ASP.Net, now i want importing email ids of all friends also as contact. I tried a lot but fiasco, I dont know how to do it with or without extended permission...
View 1 RepliesI want to call facebook graph web api to get friend list of logged in user with some information of them like email id and mobile number can I do this in asp.net application.
View 1 RepliesHow I can get the friend of my friends on facebook ? i use this : FaceBookConnect.Fetch(code, "me/friends") to get my friend. What is the change i can do to get the friends of my friends on facebook .
Example : I am friend with samie . How I can get the friend of samie on facebook .
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 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.
View 1 RepliesI 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?
View 1 Repliesi 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..
View 1 RepliesI would like to know how to get the Facebook user language.
View 1 RepliesI have website with facebook like box for facebook page (eg, abc) . Now if any new post in their at website it will automatically post at wall or not.
View 1 RepliesI am getting this error !!
The remote server returned an error: (403) Forbidden
I follow this link [URL] ....
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.
View 1 Replies