what is the deal with Facebook API error: Could not parse into a date or time -
im getting group wall posts , fine in end of json response , im getting paging object when take previous value , try http request it:
https://graph.facebook.com/175923872448029/feed?access_token=**********13c0fd29b9-557002013|n-ogz6q2sndng1i3les0v9u-tdw&limit=25&since=2011-01-25t1100253a3400253a2100252b0000 im getting error : { "error": { "type": "invalidargumentexception", "message": "could not parse '2011-01-25t1100253a3400253a2100252b0000' date or time." } }
what wrong date ?
when open https://graph.facebook.com/175923872448029/feed in browser you'll notice paging link consists of utf numeric codes have decoded prior using them [edit].
however, when requested same object using php sdk got encoded url works fine.
the reason behaviour explained, believe, in post.
in summary, have check returned string looks , decode adequately before proceed.
Comments
Post a Comment