I am trying to get all facebook posts from a facebook group in ASP.NET through graph.facebook.com/id/feed.
I have successfully managed to get all data I need, but in JSON format. How do I deserialize this data so that I can use it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are in c# 4.0 you can use the dynamic object to deserialize the graph object. see the c# facebook api here:
http://facebooksdk.codeplex.com/
http://ntotten.com/2010/09/dynamic-objects-and-the-facebook-c-sdk/
If you have a class to deserialize it into then something like NewtonSoft json library would help alot:
http://james.newtonking.com/pages/json-net.aspx