Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/csharp-4.0/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 无法获取feedburner订阅服务器的计数_C#_C# 4.0_Feedburner - Fatal编程技术网

C# 无法获取feedburner订阅服务器的计数

C# 无法获取feedburner订阅服务器的计数,c#,c#-4.0,feedburner,C#,C# 4.0,Feedburner,我正在尝试运行以下代码: public string FeedReadersCount(string id) { XDocument xdoc = XDocument.Load("http://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=" + id); return (from item in xdoc.Descendants("entry") select item.Attribute

我正在尝试运行以下代码:

public string FeedReadersCount(string id)
{
    XDocument xdoc = XDocument.Load("http://feedburner.google.com/api/awareness/1.0/GetFeedData?uri=" + id);
    return (from item in xdoc.Descendants("entry")
            select item.Attribute("circulation").Value).SingleOrDefault();
}

但它返回404错误。有人知道另一种方法吗?

截至2012年10月20日,Feedburner API已被弃用。我也在想另一种方法来获取用户数量