
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
fb-waba-manager
Advanced tools
Handle some facebook whatsapp business account manager functionalities.
FYI: waba stands for WhatsApp Business Account
from fb_waba_manager import FbWabaManager
access_token = 'my_access_token'
business_id = 'my_business_id'
fwm = FbWabaManager(access_token, business_id)
The following methods are provided:
All methods accept the notify_request parameter, if the given value is True
the method will always return the requested data and a bool indicating if a new request was made to the GraphAPI.
Ps.: All methods are generators.
Retrieve a list of all waba objects of your business
| Parameters | Type |
|---|---|
| notify_requests | bool (optional) |
for w in fwm.list_business_wabas():
print(w)
# Example of a waba object:
# {
# 'id': '21312312321',
# 'name': 'Some name',
# 'currency': 'USD',
# 'timezone_id': '25',
# 'business_type': 'ent',
# 'message_template_namespace': 'gafsdf_2132_213_asd'
# }
Retrieve a list of all phone number objects of your waba
| Parameters | Type |
|---|---|
| waba_id | str |
| notify_requests | bool (optional) |
waba_id = '1231434'
for pn in fwm.list_waba_phone_numbers(waba_id):
print(pn)
# Example of a phone number object:
# {
# 'verified_name': 'My number name',
# 'display_phone_number': '+55 73 1234-5678',
# 'quality_rating': 'GREEN',
# 'thread_limit_per_day': 1000,
# 'id': '132354254546'
# }
Retrieve a list of all phone number objects of all wabas of your business
| Parameters | Type |
|---|---|
| wabas | list (optional) |
| notify_requests | bool (optional) |
for pn in fwm.list_business_phone_numbers():
print(pn)
# You can pass a list of wabas
# the objects must have at least the id key
my_wabas = [
{
'id': '12342443'
},
{
'id': '56355465'
}
]
for pn in fwm.list_business_phone_numbers(my_wabas):
print(pn)
Retrieve a list of all message templates objects of your waba
| Parameters | Type |
|---|---|
| waba_id | str |
| notify_requests | bool (optional) |
waba_id = '1231434'
for mt in fwm.list_message_templates(waba_id):
print(mt)
# Example of a phone number object:
# {
# "name": "my_message_template_name",
# "components": [
# {
# "type": "BODY",
# "text": "Obrigado pelo contato, at\u00e9 a pr\u00f3xima.\\n\\n:)"
# }
# ],
# "language": "pt_BR",
# "status": "APPROVED",
# "category": "ACCOUNT_UPDATE",
# "id": "16453353"
# }
The waba, business, phone number and message template definition or properties can be found at Facebook's oficial documentation
FAQs
Helper to handle with facebook's waba
We found that fb-waba-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.