Reputation: 6452
I am building a small app that authenticates a user with Facebook. After the user is authenticated he can upload an image. Once this image is uploaded it has to be approved by our staff. The image might be approved days later. My concern is in regards to the access token. Once the image is approved I want to be able post to that users wall even if it's days later. What kind of issues should I consider?
Upvotes: 0
Views: 128
Reputation: 20753
Facebook is removing the old offline_access permission and thus normal access tokens will only live for 1 or 2 hours, you will see a "deprecate offline_access" migration (enabled by default) in the app setting's advanced tab (the removal will take place 2012 October 3). They introducing a new endpoint that will let you extend the lifetime of the default short lived access tokens. If you want to be more future proof, you might want to migrate to this now.
Upvotes: 2
Reputation: 6030
the current expiration period for FB access token is 60 days if the image is being approved after 60 days and the use haven't authorized during that period, you have no option to post.
Upvotes: 1