thomaswelton/myApi — Issue #116: open graph activities - wrong access token
Author: ranioli
Created: 2012-02-19 15:09:28+00:00
State: open

hi,

i've been using the getAccessToken method of the facebook object obtained using plgSystemmyApiConnect::getFacebook and been trying to use this to publish custom activities to the user's timeline (since am still developing, that user is me) - but i keep getting an error - the access token appears to have expired and i don't seem to be getting a fresh one.

when i paste the url generated in the browser, i get this:

{
"error": {
"message": "Error validating access token: Session has expired at unix time 1329663600. The current unix time is 1329664025.",
"type": "OAuthException",
"code": 190
}
}

i am getting the access token everytime i try to post to the timeline, so the token should be the latest. what am i doing wrong?

alakananda