-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to log in #171
Comments
Just installed messer, get the same. I have verified in several ways that my credentials are correct, but still get "Failed to login: Wrong username/password".
|
Same, just installed on macOS Mojave 10.14.6.
|
Same problem for me, It doesn't seem to work anymore :'( |
Same for me; just reinstalled Messer with these versions:
|
For those wondering, it is an issue with the facebook-chat-api that this app uses. They have not made a new login function, but i think they have found a workaround at the original issue on that repo. |
Thank you for the info, but in the link you provided I see a lot of text and maybe underneath all that a very complicated solution. Will someone be able to write up a detailed guide for those of us less technically able? I'm sure I wouldn't be the only one who would be very grateful. |
I'm having the exact same issue. |
I managed to get it work by getting the appstate.json with a different user Agent like in this issue. The steps were:
const fs = require("fs");
const login = require("facebook-chat-api");
var credentials = {email: "[EMAIL]", password: "[PASSWORD]"};
login(credentials, { forceLogin: true, logLevel: /^win/.test(process.platform) ? 'verbose' : 'warn', listenEvents: true, selfListen: true, updatePresence: true, autoMarkDelivery: true, autoMarkRead: true, userAgent: 'Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Mobile Safari/537.36' }, (err, api) => {
if(err) return console.error(err);
fs.writeFileSync('appstate.json', JSON.stringify(api.getAppState()));
}); replacing [EMAIL] and [PASSWORD] with your facebook email and password
Unfortunately I have been locked out of facebook twice since using this workaround and had to change my password, not sure if there is a way around that. Hope this helps. |
Can also confirm that this workaround allows Messer to start (I get the "Successfully logged in as <my_name>" message), but cannot actually user Messer. I was able to run the |
.. still the same issue, is this now an abandonware? |
I'll look into this today. Keep in mind that this is an open source project. @Timbological looks like they came up with a fix (#171 (comment)) - anyone is able to create a PR that implements this 🤷 |
It turns out that this probably isn't fixable. There appears to be a bunch of upstream issues with https://github.com/Schmavery/facebook-chat-api which I don't have the time/energy to investigate further. If anyone is willing and able to provide fixes, I'll happily review and merge them 👋 |
Schmavery/facebook-chat-api#870 (comment) This comment here provids a script that should help some of you get around the issue. Also, there is another repo that is less featurerich, that is being maintained that was mentioned in one of the threads of the upstream API: https://github.com/makiprogrammer/ts-messenger-api |
The following have worked for me:
Thank you for the comments, helped a lot to solve the problem. |
With this procedure I get this: (node:1622313) UnhandledPromiseRejectionWarning: Error: No node found for selector: button[data-testid="cookie-policy-dialog-accept-button"] |
Worked for me, except I didn't insert NOTE: You need run |
how can i unsubscribe from this blog? |
Following up on the legacy discussion I've been able to get this to work with the following:
This differs from similar scripts others have posted in that it opens up the sign in page in your browser and you manually click login. Some of the CSS selectors from the scripts before are out of date so this should be a more future-proof way to run this script. Make sure to click login within 10 seconds of the page opening up, if you need more time, feel free to modify |
I have installed messer and it seems to work fine, but, whenever I type in my credentials, an error is returned, stating "Failed to login: Wrong username/password." Even though I have copy-pasted my credentials and then double-checked several times whether they are correct or not, my credentials are 100% correct. And yet, I get an error stating that my username/password is wrong.
I don't know if this is going to help, but I'll place my versions here
Oh also, my OS is Kali Linux
Any ideas what I could be doing wrong?
Error:
Failed to login: Wrong username/password.
The text was updated successfully, but these errors were encountered: