Status/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 01/19/2015
Components: Social
Versions: 11.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 0
<cfoauth type="facebook"> doesn't support Facebook's API versioning.
In CF11 Update 3 <cfoauth> uses these Facebook endpoints:
authendpoint: https://www.facebook.com/dialog/oauth
accesstokenendpoint: https://graph.facebook.com/oauth/access_token (I _believe_ this is what <cfoauth> uses.. Wireshark had this encrypted and only displayed "graph.facebook.com")
Unversioned currently equates to v1.0. On May 1st, 2015, v1.0 will no longer be usable. If endpoint doesn't specify a currently-usable version, then Facebook will default the call to the _oldest_ supported version.
Currently, in order to use newer versions (v2.0, v2.1 and v2.2), the developer must specify versioned endpoints via <cfoauth>'s authendpoint and accesstokenendpoint attributes (but that also fails due to another bug that I'll file).
Facebook's current endpoints are:
authendpoint: https://www.facebook.com/v2.2/dialog/oauth
accesstokenendpoint: https://graph.facebook.com/v2.2/oauth/access_token
This ER is to add an apiversion="" attribute to <cfoauth> for type="facebook". If <cfoauth type="facebook" apiversion="2.2"..>, then CF would use the v2.2 endpoints mentioned above.
(BTW, FQL has been removed in v2.1 - so the FQL examples should probably, eventually, be removed from this page: http://www.adobe.com/devnet/coldfusion/articles/social-integration.html)
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3923023
Reason: NewBug
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: