How to get other facebook user details in ASP.Net

Last Reply one year ago By kalpesh

Posted one year ago

hi, i want get the facebook user details i'm used in this site code but i'm getting only my fb information not others..so how can i get those details. and what modifications i have to do...

Posted one year ago
kotesh says:

hi, i want get the facebook user details i'm used in this site code but i'm getting only my fb information not others..so how can i get those details. and what modifications i have to do...

If you have permission to access the other confidential details of user then only it will available to access.

Due to security reason you can't get the users details like email address. The only way to get the users email address is to request extended permissions on the email field. The user must allow you to see this and else you cannot get the email addresses of the user's friends.
http://developers.facebook.com/docs/authentication/permissions


Or

If the user has an unconfirmed email in Facebook (i.e. Facebook sent him a validation mail to the user's email address but he didn't respond) Facebook WILL NOT pass that email to your app even if he gave you the email permissions. So what you did is use his or her Facebook email if the user has a user name (i.e. sud@facebook.com).

For others user details like friends ,taggable_friends just change the code to access there data
from FaceBookConnect.Fetch

For user details the person whoes credential used
then it pass as me like
string data = FaceBookConnect.Fetch(code, "me");
for friend it pass as
string data = FaceBookConnect.Fetch(code, "me/friends");

Refere the below links for your reference.

ASP.Net Get FaceBook User details like Gender, Email, Address Location and Birth Date

Fetch and import FaceBook Friends and Contacts with profile pictures in ASP.Net



I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html