Просто посмотрите на это. здесь я исправил код, который вы вставили в комментарии. надеюсь, это поможет вам найти проблему.
JObject o = JObject.Parse(filteredOuterhtml);
string idValue = o["entry_data"]["ProfilePage"][0]["graphql"]["user"]["id"].ToString();
var edges = o["entry_data"]["ProfilePage"][0]["graphql"]["user"]["edge_owner_to_timeline_media"]["edges"];
foreach (var edge in edges)
{
Console.WriteLine(edge["node"]["shortcode"]);
}
Вы можете получить shortcode
, используя LINQ
var shortcodes = o["entry_data"]["ProfilePage"][0]["graphql"]["user"]["edge_owner_to_timeline_media"]["edges"].Select(x => x["node"]["shortcode"]).ToArray();