Email received form Facebook, they are doing the version detection on their side. Only Graph calls to FB are done through this module.
XXXX currently has access to Graph API v2.1 which will reach the end of its 2-year lifetime on 30 October, 2016. To ensure a smooth transition, please migrate all calls to Graph API v2.2 or higher.
In code there is the profile graph query which uses fixed version v2.5, another call is done to Graph API to get the token the problem is that it doesn't have the fixed version (https://graph.facebook.com/oauth/access_token). In API response the headers show that's it's using old version facebook-api-version:v2.1. I am not sure if the v2.1 is removed does it automatically switch to a higher version or should it be fixed? (like https://graph.facebook.com/v2.5/oauth/access_token)
I purpose to set it as fixed version as the profile call.
Email received form Facebook, they are doing the version detection on their side. Only Graph calls to FB are done through this module.
In code there is the profile graph query which uses fixed version v2.5, another call is done to Graph API to get the token the problem is that it doesn't have the fixed version (
https://graph.facebook.com/oauth/access_token
). In API response the headers show that's it's using old versionfacebook-api-version:v2.1
. I am not sure if the v2.1 is removed does it automatically switch to a higher version or should it be fixed? (like https://graph.facebook.com/v2.5/oauth/access_token)I purpose to set it as fixed version as the profile call.
PR: https://github.com/jaredhanson/passport-facebook/pull/181