"Не удалось получить ресурс из https://api.twitter.com/1.1/account/verify_credentials.json?include_email=true - PullRequest
0 голосов
/ 22 октября 2019

Я столкнулся с этой проблемой. как я могу исправить эту проблему?

код: "auth / invalid-credential",

twLogin(){
this.twitter.login().then( response => {
const twitterCredential = firebase.auth.TwitterAuthProvider
  .credential(response.token, response.secret);
firebase.auth().signInWithCredential(twitterCredential)
.then( userProfile => {
  console.log("auth.sign");
  this.userProfile = userProfile;
  this.userProfile.twName = response.userName;
  console.log(this.userProfile);
}, error => {
  console.log(error);
});}, error => {
console.log("Error connecting to twitter: ", error);});}

code: "auth / invalid-credential", сообщение: "Не удалось получить ресурс из https://api.twitter.…de":32,"message":"Could не аутентифицирует вас. "}]}"} `

введите код

`

...