fbchat-dev / fbchat-dev/fbchat

"Device Logged in From Unknown Location" Error

Open
#236 7 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted question
Dominant language
Python
Stars
1.2k
Forks
403
PR merge metrics
No merged PRs in 30d

Description

Usually, when attempting to log in on an external server, with an IP that's different from the ones you usually use, you get blocked, and you recieve an email a little while later explaining that the login attempt has been blocked.
Though I realise that this is a very good security feature, I'm wondering whether and how you would then go about logging in to Facebook on an external server.

My solution, which is currently untested, would be to send a set of working session cookies to the server as well, and use those to "verify" the IP, and then you would be able to subsequently login.
Though I have a feeling that this may not be entirely possible, and that we may have to add some functionality to `fbchat` to make this possible (For example if Facebook requires that you retype your password when changing IP)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.