There are three primary scenarios where you will see this code:
If you forget your password, Facebook sends this code to your registered email or phone number to authorize a change.
To change your method:
Some mobile carriers automatically block incoming messages sent from automated shortcode numbers (the abbreviated phone numbers Facebook uses to send alerts). Step-by-Step Troubleshooting Checklist
There are three primary scenarios where you will see this code:
If you forget your password, Facebook sends this code to your registered email or phone number to authorize a change.
To change your method:
Some mobile carriers automatically block incoming messages sent from automated shortcode numbers (the abbreviated phone numbers Facebook uses to send alerts). Step-by-Step Troubleshooting Checklist