json downloaddata model building C# -
i try implementation of final
i want every data
var jsresult = (jobject)jsonconvert.deserializeobject(response); (int = 0; <= 19; i++) { string mediaid = (string)jsresult["data"][i]["id"]; string commenturl = "https://api.instagram.com/v1/media/" + mediaid + "/comments?access_token=" + accesstoken + ""; var commentjson = webclient.downloaddata(commenturl); var commentresponse = system.text.encoding.default.getstring(commentjson); session.add("commentresponse", commentresponse); } var commentdata = jsonconvert.deserializeobject<comment.rootobject>(session["commentresponse"].tostring());
Comments
Post a Comment