What steps will reproduce the problem?
1. login the user with Facebook.login or get the session after Facebook.init()
with a pre-existing valid session.
2. read the expireDate
What is the expected output? What do you see instead?
expireDate parses the timestamp from the response from the javascript SDK. This
is a standard unix timestamp, which is in seconds. The date will parse out to
somewhere around January 1970, which is completely wrong. If you multiply the
date by 1000, you get an expected result, which is a few hours after the
session was established.
What version of the product are you using? On what operating system?
GraphAPI 1.6
Please provide any additional information below.
Flash dates use microtime, measuring dates in milliseconds since epoch, NOT
seconds. The timestamp should be multiplied by 1000 before being parsed into a
flash Date object...
Original issue reported on code.google.com by pixels...@gmail.com on 11 Apr 2011 at 4:22
Original issue reported on code.google.com by
pixels...@gmail.com
on 11 Apr 2011 at 4:22