Skip to content

Twitter Authentication not working Twitter auth is invalid for this user. #5897

Closed
@ittechsathish

Description

@ittechsathish

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions