warifp / FacebookToolkit

a tool to get Facebook data, and some Facebook bots, and extra tools found on Facebook Toolkit ++.
MIT License
883 stars 283 forks source link

Is this still Maintained? Cannot get/store Facebook Access Token with 2FA #82

Open tokenwizard opened 1 year ago

tokenwizard commented 1 year ago

Describe the bug Access Token is not found so it prompts for username/password for Facebook. Upon providing credentials, it fails to authenticate because I have 2-factor on my FB account. We need an updated authentication method to generate/store the access token that works with 2FA. Nobody should be using an account these days and NOT have 2FA enabled.

To Reproduce Steps to reproduce the behavior:

  1. launch the tool with 'php run.php'
  2. When prompted, enter FB username/password
  3. Message says that token is successfully saved to config/token.txt but that file is actually blank.

Expected behavior Access Token is cached to the aforementioned txt file

Screenshots Screenshot_2023-01-11-13-46-10_3440x1440

Desktop (please complete the following information):

tokenwizard commented 1 year ago

Each time I try this, I can a notification in Facebook that an unrecognized device tried to access my account. Each time, I say "This was me." and "Save Browser" but it still blocks access each time I try.

mckaygerhard commented 1 year ago

an identificacion must be send.. browser and phones send a agen ui identification.. seems this app cannot send it