Skip to content

Commit 1c39bc1

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) (parse-community#4650)
1 parent 1eac535 commit 1c39bc1

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)