oauth - Facebook access Token with longer expiration -
oauth - Facebook access Token with longer expiration -
i trying follow this tutorial on getting token longer expiration time . facebook connect done on client side (js sdk). steps take are:
enabled 'deprecate offline_access' on app settings page retreive access_token normal curl "https://graph.facebook.com/oauth/access_token? client_id=app_id& client_secret=app_secret& grant_type=fb_exchange_token& fb_exchange_token=access_token"this returns same exact same access token expiration of 2 hours, shouldn't homecoming token (same or not access_token) valid 60 days ?
thanks
as of right now, in experience, seems 60 day tokens returned new users add together app after 'deprecate offline_access' setting enabled. older users, prior setting 'deprecate offline_access' setting seem stuck @ 2 hr lifetime.
i have tests seem indicate setting 'enhanced auth dialog' setting in add-on 'deprecate offline_access' setting required long lived tokens.
facebook oauth access-token
Comments
Post a Comment