Skip to content

Commit 6abf29d

Browse files
SebC99dplewis
authored andcommitted
Remove FB Graph API version from URL to use the oldest non deprecated version (2.5 for now, which will be deprecated soon) (#4650)
1 parent c36ef99 commit 6abf29d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adapters/Auth/facebook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function validateAppId(appIds, authData) {
3737
// A promisey wrapper for FB graph requests.
3838
function graphRequest(path) {
3939
return new Promise(function(resolve, reject) {
40-
https.get('https://graph.facebook.com/v2.5/' + path, function(res) {
40+
https.get('https://graph.facebook.com/' + path, function(res) {
4141
var data = '';
4242
res.on('data', function(chunk) {
4343
data += chunk;

0 commit comments

Comments
 (0)