Must be one-time or strtotime date / time representation syntax

Why am I having this error when running the facebook api graphical code in C #?

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

      

my graph Api Code:

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

      

but the same code returns the correct result when i use: developers.facebook.com/tools/explorer/

+3


source to share


1 answer


I got an answer. You need to have access_token in the api graphical code. Example:



https://graph.facebook.com/v2.1/687925031280154/feed?access_token=XXXXX&limit=25&until=1403056007

      

+1


source







All Articles