C# C Facebook API:必须是unixtime或可由strotime解析的日期/时间表示形式
在一个使用C的windows应用程序中,我试图使用facebook图形API获取facebook的喜好C# C Facebook API:必须是unixtime或可由strotime解析的日期/时间表示形式,c#,facebook,facebook-graph-api,C#,Facebook,Facebook Graph Api,在一个使用C的windows应用程序中,我试图使用facebook图形API获取facebook的喜好 var fb = new FacebookClient("<token here>"); dynamic pageLikes = fb.Get("/wotif/insights/page_fans_country"); Console.WriteLine("" + pageLikes.data.ToString()); 请帮忙。谢谢这是我在graph API explor
var fb = new FacebookClient("<token here>");
dynamic pageLikes = fb.Get("/wotif/insights/page_fans_country");
Console.WriteLine("" + pageLikes.data.ToString());
请帮忙。谢谢这是我在graph API explorer中检查到的错误。。{错误:{message:100必须是unixtime或可由strotime解析的日期/时间表示,类型:OAuthException,代码:100}}编辑您的答案,这比在此处添加注释要好得多
var fb = new FacebookClient("<token here>");
dynamic pageLikes = fb.Get("/wotif/insights/page_fans_country?until=1391244171");
{ "error": { "message": "(#100) Must be a unixtime or a date/time representation parseable by strtotime()", "type": "OAuthException", "code": 100 } }