Skip to main content

tungsten-meta-leads

Facebook and Instagram lead forms for Tungsten. New leads from your Meta lead ads land in tungsten-leads the moment someone submits a form.

What you get

  • One-click setup: press Connect Facebook, allow access, done. Your pages, their lead forms and the webhook are set up for you.
  • Every answer goes to the lead: name, email, phone, company, and your own questions as lead fields (created for you).
  • Per form: switch it on or off, choose the starting status and who the leads are assigned to, and change where each answer goes.
  • Sync reads recent leads from Meta, for leads sent while your site was down. The same lead is never added twice.
  • A Meta lead log shows every lead Meta sent and what happened to it, with Try again for failures.

Install

pip install tungsten-meta-leads
from tungsten_leads import LeadsPlugin
from tungsten_meta_leads import MetaLeadsPlugin

panel = Panel(..., app_url="https://admin.example.com")   # your public https address
panel.plugin(LeadsPlugin())
panel.plugin(MetaLeadsPlugin())
panel.create_tables(engine)

Setup (once)

Open Facebook & Instagram in your panel and press Setup guide. It walks through every click, with your own addresses filled in. In short:

  1. At developers.facebook.com, create an app with the use case Capture & manage ad leads with Marketing API, and add the pages_manage_metadata permission to it.
  2. Paste the app's App ID and App secret on the setup page.
  3. In the app's Facebook Login for Business, Settings, add the Redirect URI shown on the setup page (for example https://admin.example.com/admin/meta/callback).
  4. Publish the app (Publish, Go live). Meta sends no leads, not even test leads, to an app that is not live.
  5. Press Connect Facebook and allow every Page and permission.

Your site must be reachable on the internet over https so Meta can send leads to it. For your own Pages you usually don't need App Review; it is needed when other businesses connect their Pages to your app. The full guide, with common problems, is in Facebook & Instagram leads.

You can also give the keys in code: MetaLeadsPlugin(app_id="...", app_secret="...").

Where answers go

Each form has a map from Meta question to lead field. The targets are name, first_name, last_name, email, phone, company, notes, or the key of a lead field. Leave a target empty to skip that answer. Standard questions (full name, email, phone, company) are mapped for you.

More Tungsten plugins

Package What it adds Docs
tungsten-leads Leads list, stages, timeline and your own lead form fields README
tungsten-whatsapp WhatsApp for leads: click-to-chat, Cloud API or WhatsApp Web Guide
tungsten-mcp MCP server, so AI assistants like Claude can read and change your data Guide
tungsten-tickets Help desk: tickets, replies, notes, SLA and a customer support page Guide
tungsten-blog Blog built for SEO, GEO and AEO, with a live score, sitemap and llms.txt Guide
tungsten-seo-audit SEO audit of your website: score, fix tips, AI search checks, history Guide
tungsten-security-audit Security audit with a score and fix tips, plus a login log with lockout Guide

Core package: tungsten-admin. Website and docs: https://tungsten.prisminfoways.com/

Metadata

Release files for tungsten-meta-leads 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tungsten-meta-leads 0.1.1
File Size Uploaded
tungsten_meta_leads-0.1.1.tar.gz 23.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tungsten-meta-leads 0.1.1
File Interpreter ABI Platform
tungsten_meta_leads-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 46.7 kB

Release files / tungsten_meta_leads-0.1.1.tar.gz

Download URL tungsten_meta_leads-0.1.1.tar.gz
Size 23.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5a35200213094bd309273f95ca236c8f8759be8560dc85bd9f7effff78d47855
BLAKE2b-256 checksum
How to use checksums
36206aaa77d82682a2424d34ccb122ce88618a3e0b8eb375aeb450ac15617daa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tungsten_meta_leads-0.1.1-py3-none-any.whl

Download URL tungsten_meta_leads-0.1.1-py3-none-any.whl
Size 23.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
633d752a673c680a91fc63b927f90235a2a4403f1dc81c022e4deed6f73a3449
BLAKE2b-256 checksum
How to use checksums
88689d1a15992d2ade1b1228f5638faf579ad44f85244e00f8473eacee6c5d78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page