Skip to content

Failed to request authorization token from Twitter #1322

@GokmenAkar

Description

@GokmenAkar

User can't log in the app with Twitter.

The initialize settings in AppDelegate,

PFTwitterUtils.initialize(withConsumerKey: "CorrectConsumerKey", consumerSecret: "CorrectSecretKey")

This is the simple login code;

      PFTwitterUtils.logIn { (user, error) in
            if error != nil {
                print(error!.localizedDescription)
            } else {
                print(user)
            }
        }

And when I tap the login button, It throws authorization error:
"Failed to request authorization token from Twitter."

It was working well before but not anymore.

What I have done so far,

But didn't work.

I really need help with this issue, thank you. I can provide more information if needed.

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