Closed
Description
Problem : Twitter Authentication not working Twitter
Error: auth is invalid for this user.
Problem Found:
twitter.js
// Returns a promise that fulfills iff this user id is valid.
function validateAuthData(authData, options) {
if (!options) {
throw new Parse.Error(
Parse.Error.INTERNAL_SERVER_ERROR,
'Twitter auth configuration missing'
);
}
options = handleMultipleConfigurations(authData, options);
var client = new OAuth(options);
client.host = 'api.twitter.com';
// HERE IS THE ERROR, SO I CHANGED TO OPTIONS VARIABLE
client.auth_token = options.auth_token;
client.auth_token_secret = options.auth_token_secret;
}
PLEASE FIX THIS
ALSO I CHANGED CONFIG WITH AUTH TOKEN AND AUTH TOKEN SECRET
Metadata
Metadata
Assignees
Labels
No labels