Schmavery / facebook-chat-api

Unofficial Facebook Chat API for Nodejs
MIT License
1.93k stars 596 forks source link

Wrong username/password #767

Open MBakac opened 4 years ago

MBakac commented 4 years ago

Hi, the api keeps throwing the "Wrong username/password" error. I tried with a few different accounts including a whitehat one and it didn't work.

martin@MartinPC2:~/Documents/fbapitest$ node index.js info login Logging in... ERR! login Wrong username/password. { error: 'Wrong username/password.' }

ghost commented 4 years ago
  1. Does your password contain characters such as \?
  2. Show the code you are using
  3. What API version are you using? (from github or from npm)
MBakac commented 4 years ago
  1. It does not, I changed it to include only letters and numbers.
  2. image

  3. I'm using "facebook-chat-api": "^1.6.1" from npm.
ghost commented 4 years ago
  1. Uninstall current version of API: npm uninstall facebook-chat-api
  2. Install version from github repo npm install Schmavery/facebook-chat-api
  3. Check again
MBakac commented 4 years ago

I uninstalled the old version and installed the github version and am still experiencing the same issue.

ghost commented 4 years ago

Do you enter email and password between the characters < and >?

MBakac commented 4 years ago

Nope, I enter it like "someone@something.com" and "password". I tried using the pychat api and it was able to log in fine.

adobebeta commented 3 years ago

Nope, I enter it like "someone@something.com" and "password". I tried using the pychat api and it was able to log in fine.

Im meet same problem today, how you fix this problem? T T

LeHungTin commented 3 years ago

@adobebeta Hey, https://www.youtube.com/watch?v=y9_yd5a3scM

ttoavina commented 2 years ago

@adobebeta Hey, https://www.youtube.com/watch?v=y9_yd5a3scM

Thank you, this video saved me