Authentication application is also a safer option to use phones because SMS is the target of many 2FA hacks.
To set up 2FA on Facebook, visit the Settings page and click Security and Login, then use Use two-factor authentication, choose to use the phone or the authentication application.
See more: