How to use result.ResultDictionary to fetch full json of facebook user profile who logged in my app?
what is the field name to fetch full json like it is done for email, first_name,last_name,id... For ex : string Email= ""+result.ResultDictionary["email"];
i want this sort of code for fetching full dictionary..not just email and name individually. i need to fetch and store that info on server
Answer by Niks4Linux · Jul 05, 2017 at 06:43 AM
@shuklaprabhav You can user Graph Explorer Tool from developers.facebook.com you'll get a list of all the fields you want,you can search for a field you want and then you call it from your script. There is a 'search a field' option so you can search for required fields and test there as well. So, you'll get a field names you want then you can use result.ResultDictionary["FIELDNAME"] to get the details you want.
You can print your json string using result.rawResult and see the fields you've received in respose from facebook and parse them.
Here's the link for Graph Explorer -