Retrive JSON data from JSON Object in C#

Posted by user1638260 on Stack Overflow See other posts from Stack Overflow or by user1638260
Published on 2012-08-31T09:34:31Z Indexed on 2012/08/31 9:38 UTC
Read the original article Hit count: 308

Filed under:
JsonObject friendlist = facebookClient.Get("/me/friends") as JsonObject;

    //Retrive Data from friendlist
    {
  "data": [
    {
      "name": "Mehta",
      "id": "1000032633029611"
    },
    {
      "name": "Patu Mehta",
      "id": "1000042433527270"
    }
  ],
  "paging": {
    "next": "https://graph.facebook.com/100004241944047/friends?access_token=AAAEXJfmh18QBALKtilFYJz5PU6XvxKIaZAc65NYtyZCLbOqFKyZC8hdyjaU7C7w1CaLKG8tFdRtLYqtAX3vqrPwYNNe5G0aTGhB5x1mwgZDZD&limit=5000&offset=5000&__after_id=100004244527270"
  }
}
        Count: 2
        IsReadOnly: false
        Keys: Count = 2
        Values: Count = 2

But i required only data not whole value like

© Stack Overflow or respective owner

Related posts about c#