![Picture of sootsnoot Picture of sootsnoot](/graphics/unknown.gif)
sootsnoot - 2018-09-05 23:17:45 -
In reply to message 2 from Manuel Lemos
When I saw all the v2.3 calls in the sources, I was a little concerned, too. But according to https://developers.facebook.com/docs/apps/versions :
"For APIs, once a version is no longer usable, any calls made to it will be defaulted to the next oldest usable version. Here's a timeline example:"
That page says that a particular version becomes unusable exactly two years after the subsequent version is released. According to https://developers.facebook.com/docs/graph-api/changelog/archive , version 2.3 became unusable on July 8, 2017. And version 2.6 became unusable as of July 13, 2018. As of today (September 5, 2018), the oldest usable version is 2.7, which will become unusable as of October 5, 2018. So any code that today specifies a Graph API version between 1.0 and 2.6 will wind up using version 2.7. And on October 6, that same code will wind up using version 2.8.
So specifying an explicit version in the code effectively specifies the minimum version to be used, which means that the OAuth library sources are doing the right thing, and should only break when/if facebook makes seriously-breaking changes. I didn't find anything stating what (if anything) they do if the "next oldest usable version" just doesn't support the Graph API request from the explicitly requested version at all.