必须是可由strtotime解析的unixtime或日期/时间表示形式

本文关键字:日期 时间 时间表 表示 unixtime strtotime | 更新日期: 2023-09-27 18:24:05

为什么在c#中运行facebook的图形api代码时会出现此错误?

(OAuthException - #100) Must be a unixtime or a date/time representation parseable by strtotime()

我的图形Api代码是:

https://graph.facebook.com/v2.1/687925031280154/feed?since=1391244171

但当我在上使用时,相同的代码返回正确的结果:developers.facebook.com/tools/explorer/

必须是可由strtotime解析的unixtime或日期/时间表示形式

我得到了答案。需要在图形api代码中具有access_token。示例:
https://graph.facebook.com/v2.1/687925031280154/feed?access_token=XXXXX&limit=25&until=1403056007