Skip to main content

A Python package for fetching Facebook 2FA OTP

Project description

📌 API 2FA FB

🔹 api_2fa_fb is a Python library that allows you to retrieve OTP codes from the Facebook 2FA API quickly and easily.


🚀 Installation

Install the library via pip:

pip install api-2fa-fb
import api_2fa_fb

# Initialize with your 2FA secret code
auth = api_2fa_fb.authy("YOUR_SECRET_CODE")

# Retrieve OTP
otp = auth.get_otp()
print("🔑 OTP:", otp)

# Check exist time
exist = auth.get_exist()
print("⏳ Time Exist:", exist, "seconds")

⚙️ Requirements

  • Python 3.10 or higher
  • requests library (automatically installed via pip)

🛠️ Update Version

Upgrade to the latest version using:

pip install --upgrade api-2fa-fb

🐜 License

📝 MIT License - You are free to use it for personal and commercial purposes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

api_2fa_fb-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

api_2fa_fb-1.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file api_2fa_fb-1.0.0.tar.gz.

File metadata

  • Download URL: api_2fa_fb-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for api_2fa_fb-1.0.0.tar.gz
Algorithm Hash digest
SHA256 84cd9cc5c25ac9d4984529d9022116acf2270e9914cc6e594f4832846e40a180
MD5 5ace3b7fbf03b5fd78b4e24e5b09e4dd
BLAKE2b-256 3766e7b995d21ddb0ff9d49d3ad0b55d39a2471b193c9478c67892e802f985a8

See more details on using hashes here.

File details

Details for the file api_2fa_fb-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: api_2fa_fb-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for api_2fa_fb-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95114647caafda9e7a05982a5e9a3b3afa68a2e712d3f7c53be4a7d5be65fe0c
MD5 dc465300b3e143670b726ce939483809
BLAKE2b-256 14773153545a6c8a07580744d6883eae98f15dfc4b3150f3fad3f4025ab29d38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page