Step one: Click your Facebook Setting and go to Security and Login
Step Two: Click Use Two-factor authentication "Edit"
Step Three: Click "Use Authentication App" and Download an "Authenticator" App in your App store.
Step Four: Open your Authenticator and Scan The QR Code.
Step Five: Then you can get your recovery codes