fork download
  1. using System;
  2. using Newtonsoft.Json;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. var data = @"https://w...content-available-to-author-only...m.com/tombulefes/?__a=1";
  9. string s = null;
  10. using(WebClient client = new WebClient()) {
  11. s = client.DownloadString(data);
  12. }
  13.  
  14.  
  15. }
  16. }
  17.  
  18. public class FollowedBy
  19. {
  20. public int count { get; set; }
  21. }
  22.  
  23. public class Follows
  24. {
  25. public int count { get; set; }
  26. }
  27.  
  28. public class Dimensions
  29. {
  30. public int height { get; set; }
  31. public int width { get; set; }
  32. }
  33.  
  34. public class Owner
  35. {
  36. public string id { get; set; }
  37. }
  38.  
  39. public class Comments
  40. {
  41. public int count { get; set; }
  42. }
  43.  
  44. public class Likes
  45. {
  46. public int count { get; set; }
  47. }
  48.  
  49. public class Node
  50. {
  51. public string __typename { get; set; }
  52. public string id { get; set; }
  53. public bool comments_disabled { get; set; }
  54. public Dimensions dimensions { get; set; }
  55. public Owner owner { get; set; }
  56. public string thumbnail_src { get; set; }
  57. public bool is_video { get; set; }
  58. public string code { get; set; }
  59. public int date { get; set; }
  60. public string display_src { get; set; }
  61. public string caption { get; set; }
  62. public Comments comments { get; set; }
  63. public Likes likes { get; set; }
  64. public int? video_views { get; set; }
  65. }
  66.  
  67. public class PageInfo
  68. {
  69. public bool has_next_page { get; set; }
  70. public string end_cursor { get; set; }
  71. }
  72.  
  73. public class Media
  74. {
  75. public IList<Node> nodes { get; set; }
  76. public int count { get; set; }
  77. public PageInfo page_info { get; set; }
  78. }
  79.  
  80. public class User
  81. {
  82. public object biography { get; set; }
  83. public bool blocked_by_viewer { get; set; }
  84. public bool country_block { get; set; }
  85. public object external_url { get; set; }
  86. public object external_url_linkshimmed { get; set; }
  87. public FollowedBy followed_by { get; set; }
  88. public bool followed_by_viewer { get; set; }
  89. public Follows follows { get; set; }
  90. public bool follows_viewer { get; set; }
  91. public string full_name { get; set; }
  92. public bool has_blocked_viewer { get; set; }
  93. public bool has_requested_viewer { get; set; }
  94. public string id { get; set; }
  95. public bool is_private { get; set; }
  96. public bool is_verified { get; set; }
  97. public string profile_pic_url { get; set; }
  98. public string profile_pic_url_hd { get; set; }
  99. public bool requested_by_viewer { get; set; }
  100. public string username { get; set; }
  101. public object connected_fb_page { get; set; }
  102. public Media media { get; set; }
  103. }
  104.  
  105. public class InstagramData
  106. {
  107. public User user { get; set; }
  108. public string logging_page_id { get; set; }
  109. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(2,7): error CS0246: The type or namespace name `Newtonsoft' could not be found. Are you missing an assembly reference?
prog.cs(75,16): error CS0246: The type or namespace name `IList' could not be found. Are you missing `System.Collections.Generic' using directive?
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty