Click here to Skip to main content
15,890,670 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
C#
System.Net.ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
// Get an access token in some manner.
// By default you can only get public info.
string token = null;

Facebook.FacebookAPI api = new Facebook.FacebookAPI(token);

JSONObject me = api.Get("/4");
Console.WriteLine(me.Dictionary["name"].String);



Please help me?
Posted
Updated 2-Oct-11 23:26pm
v2
Comments
CodingLover 3-Oct-11 23:12pm    
Are you able to find the solution?

1 solution

400 response is stand for bad request, may be due to the invalid syntax. Check for it first of all.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900