Pidgin and Facebook two-factor authentication

Since I enabled two-factor authentication on Facebook:

Login Approvals

When an unrecognized computer or device tries to access my account:
Require me to enter a security code sent to my phone

pidgin-facebookchat (the Facebook Chat plugin for Pidgin) has stopped working. Is there a way to fix this?


I have solved by miracle!

  1. log from pidgin with your first password
  2. when you receive the message, log again but using the verification code

Add an app password:here

This will generate a separate password you can give to pidgin that will not require 2-factor auth.