title: Data is returning null, can anyone tell me what I am doing wrong here?
body: <p>Here is the code I am using to get Facebook friend list, the class</p>
  
  <pre><code>public class FBUser
  {
      public long Id { get; set; }
      public string Username { get; set; }
      public string Name { get; set; }
      public string Link { get; set; }
      public string Picture { get; set; }
  
      // empty constructor
      public FBUser()
      { }
  }
  </code></pre>
  
  <p>the list class</p>
  
  <pre><code>public class FbFriendList
  {
      public WcdyList&lt;FBUser&gt; Data { get; set; }
  }
  </code></pre>
  
  <p>and here is the method I am using to get the friend list:</p>
  
  <pre><code>try
  {   
      FacebookClient client = new FacebookClient(accesstoken);
          FbFriendList myfriends = client.Get&lt;FbFriendList&gt;("me/friends?fields=id,name,username,picture,link");
  
          if (myfriends.Data.Count &gt; 0) return myfriends.Data;
          else return null;
  }
  catch (Exception ex) { }
  </code></pre>
  
  <p>myfriends is returning the data object null, can you please tell me what I am doing wrong here?</p>