Closed GoogleCodeExporter closed 8 years ago
That's nto how time.Duration and ParseDuration work. A time.Duration is always
in nanoseconds (to avoid precisely this kind of confusion). The "expires" field
of the HTTP response should be in seconds, as per the spec, so that's why we
append "s" to the value before parsing it.
The problem you're seeing is because Facebook do not return an "expires" value
or a refresh token. You just need to re-authenticate each time.
Original comment by a...@google.com
on 13 Jan 2013 at 8:56
Original comment by a...@golang.org
on 13 Jan 2013 at 8:56
Original issue reported on code.google.com by
akmal...@gmail.com
on 13 Jan 2013 at 1:41