Where is Code Generator on Facebook (2022)?

Like many social media such as Instagram, Telegram, and many more, Facebook also provides its users with some security features to keep them safe from outsiders. So by using the special security that Facebook provides you, you can safely use the app and no one can ever get access to your account.

In this particular article, I’m going to explain to you what a code generator is, where we can find it, and many more.

What is the Facebook Code Generator?

The code generator is a feature in your Facebook app used with two-factor authentication to keep your account safe. So when this feature is on or activated and you want to log in from a new device or a cellphone, a security code will be generated or sent to your phone. Then you can use the code to confirm that it is you who are trying to log in to the account.

  • The code generator works well on your cellphone and you don’t even need an Internet connection to get the code. The code can also help you to reset your password if you want.
  • The code you get will expire after 30 or 60 seconds and if you don’t use it during this time you need to get another one.
  • If the code you get is not working, you can reset it by tapping on “My code doesn’t work” to get a new one.

What is Two-Factor Authentication?

This is a feature that works almost on all social media. Social media provides this feature to add extra security to their users. So by enabling this feature on your social media apps including Facebook you can protect your account more.

When this feature is on, every time you try to log in to your account from different devices, the app whether it be Facebook, Instagram, and so on will send you a new code. So this makes your account safe because no one but you can get access to your account through the code you get.

Where is Code Generator on Facebook?

By following the steps that I’m about to show, you can find this feature easily.

  1. After you have activated two-factor authentication, log in to your account from the Facebook app.
  2. Then, go on and tap on the three dots icon known as the hamburger icon on the top right-hand corner.
  3. Scroll down and look for “Settings & Privacy”, and tap on it.
  4. There is a list under “Settings & Privacy”, go ahead and select “Code Generator”.
  5. Then you will see a six-digit code. You need to use it within 30 or at most 60 seconds, otherwise, it’ll be expired.

How to activate Two-Factor- Authentication on Facebook?

In the previous section, I explained where the code generator is. However, in order to use this feature fully, you also need to activate two-factor- authentication first. So here, I’m going to explain how to activate this feature as well.

  1. First, on your Facebook app, you need to go to “Security and Login Setting”.
  2. After that, scroll down and find “Use two-factor authentication” then go on and tap “Edit”.
  3. There are three methods for your security that you can add to your Facebook. Go on and select one. The best one that I recommend is to select text message or SMS codes.

To activate this method, you need to use either the phone number that you have already added to your account or you need to use a new number.

What to do if you have lost your phone and you are not able to use the code generator feature?

Honestly, there is nothing you can do except to go and ask the Facebook support team for help. Also, if you have the recovery codes that you got after you enabled two-factor authentication you can use one of them as well.

What to do if you can’t get access to the code generator to log in to your Facebook?

So if the code generator feature is not working for whatever reasons, you can try one of the following and hopefully solve the problem.

  • Facebook Recovery Codes

This only works if you have already saved the recovery codes somewhere. By the recovery codes, I mean the bunch of codes that you got after you enabled two-factor authentication. So if you have those recovery codes you can use them to log in to your account.

  • Text Confirmation Code

If you still have the phone number that you added to your account which I think you probably have, then you can reach out to Facebook and ask them to send you a confirmation code to your phone number.

  • Identity Verification

If neither of the above solutions worked for you there is also a third solution that you can give it a go. From the login page go on and tap “Need another way to authenticate?”

Then select “Get More Help” and Facebook will provide you with some solutions.

Basically, it will ask for your Email address and it will also ask you to send them a copy of your ID which can be anything. Or it may ask you to write down your password as well as your user name on a piece of paper and then take a photo and send it to their support team. This solution may take some time but it will work and you will get your account back.

Do I need to use Code Generator on Facebook?

I strongly recommend you guys use this feature on all your social media including your Facebook. By using this feature your account will be safe against hackers and anyone else who is trying to get access to it.


In this article, I tried to answer some of your questions about the code generator on Facebook, and where you can find it. I also explained what two-factor authentication is and how to activate it and many more. Hopefully, you have found what you have been looking for in this article and protected your account.


Write A Comment