Twitter has stated that it would shortly stop offering SMS-based two-factor authentication (2FA) for users who do not have a Twitter Blue subscription.
If you don't want to pay a monthly charge to Twitter — Twitter Blue costs up to $20 per month for SMS-based two-factor authentication to protect your account
Fill in You can download apps like Authy, Google Authenticator, Microsoft Authenticator, and our favourite, the open source Aegis Authenticator before following the steps below.text
Visit the settings section on the Twitter website on your computer. Click on Security and account access > Security > Two-factor authentication. Disable the Text message option, if it is enabled on your account.
Now select Authentication app > Get started. Open the authentication app that you downloaded, and scan the QR code displayed on the Twitter website. Enter the six-digit numeric code displayed on your authentication app to confirm the setup process