Click here to Skip to main content
15,911,786 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi Team,

How to call Facebook API[send API code also.]

I enter the email and based on email I want to get their details.

How to get it.

Thanks in Advance.
Posted
Updated 18-Jun-13 1:28am
v4
Comments
RadXPictures 18-Jun-13 22:56pm    
Buddy, you have to provide a little more info than that. I noticed you tagged the post C#, Javascript, and ASP .NET, all of which are very different things. I've never dabbled in ASP.NET much, but I know for a FACT that there is a C# and Javascript FB API, both of which operate differently. Are you making a website? A desktop app? I need more info.

And also, the way it works with Facebook's graph API (that's the name of their central API, which is wrapped differently for different languages), in any sense, you cannot simply get someone's info by just their email. How it works, regardless of the language you use, is you first create an app at developer.facebook.com. It will then give you an app secret and an app id, which you use to generate a unique url. A window must open up, redirecting to said url, and the window will prompt the user to log in to Facebook and approve the transfer of their information. Then, the webpage will return an access token which you can use to get their information.

I would suggest first looking at developer.facebook.com and reading the documentation. If you still can't figure it out, then come back to the forums.

1 solution

 
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