Arief
Arief

Reputation: 6085

Facebook Album Access Token Expire every 2 hours

I am implementing a photo album extension inside an umbraco installation. Basically it's just a usercontrol fetching photos from facebook.

I have supplied access_token with the following permissions:

However, the token seems to be expired after 2 hours. My question is how can I get my token to be valid all the time? Do I need more permissions?

thank you

Upvotes: 1

Views: 1127

Answers (1)

hatboyzero
hatboyzero

Reputation: 1937

When retrieving a Facebook access token, an expiration time associated with the access token is also typically returned. If this expiration time is exceeded, your application will need to obtain a new access token (which will also have a new expiration time associated with it). Facebook has an article specifically regarding how to handle expired access tokens here.

Upvotes: 1

Related Questions