I tried to build but comments data always get null
But I can look into a string of comments to content asp.net mvc json.net text corresponds to less than

public class Rootobject
{
    public Pagination pagination { get; set; }
    public Meta meta { get; set; }
    public Datum[] data { get; set; }
}
public class Datum
{
    public object attribution { get; set; }
    public Videos videos { get; set; }
    public string[] tags { get; set; }
    public string type { get; set; }
    public object location { get; set; }
    public Comments comments { get; set; }
    public string filter { get; set; }
    public string created_time { get; set; }
    public string link { get; set; }
    public Likes likes { get; set; }
    public Images images { get; set; }
    public object[] users_in_photo { get; set; }
    public Caption caption { get; set; }
    public bool user_has_liked { get; set; }
    public string id { get; set; }
    public User user { get; set; }
}
public class Comments
{
    public int count { get; set; }
    public Datum1[] data { get; set; }
}
public class Datum1
{
    public string created_time { get; set; }
    public string text { get; set; }
    public From from { get; set; }
    public string id { get; set; }
}

Resulting json: 1

Related posts

Recent Viewed