Appearance
Meta Commerce
Sell on Facebook and Instagram: the shop connected to your Meta app, Page and catalogue, and the checkout URL a Facebook or Instagram Shop sends its buyers to.
kitloom/ · admins: kitloom/, kitloom/
Your shop on Facebook and Instagram. The module connects the shop to your Meta account — your own Meta app, your Facebook Page, your catalogue in Commerce Manager — and gives a Shop on Facebook or Instagram the address it sends buyers to, so they pay on your site. The admin page is the Meta Commerce section (kitloom/meta-commerce-filament or kitloom/meta-commerce-nova). It needs the shop module.
Meta closed its own checkout in 2025: a product in a Facebook or Instagram Shop now always ends with a visit to the seller's site. Nothing is paid inside Facebook or Instagram.
A preview. The module is built from Meta's documentation and tested against a stand-in for its API; it has not yet been run against Meta itself. Set it up on a test Page and a test catalogue first, keep the catalogue's switch off until the connection and the checkout URL work for you, and tell us what Meta answers where it differs from this page: [email protected].
What you need at Meta
All of it is free, and made once.
- A business portfolio at business.facebook.com, with your Facebook Page in it. For Instagram, an Instagram business account linked to that Page (Meta Business Suite → Settings → Instagram accounts). A creator account will not do.
- A catalogue in Commerce Manager (business.facebook.com/commerce → Catalogue → Add catalogue → E-commerce), filled from your shop's product feed: Catalogue → Data sources → Data feed → Scheduled feed, with the feed address from Ads → Settings (the Ads module). Let it fetch every hour.
- A Shop on that catalogue (Commerce Manager → Shops → Add shop), with Checkout on another website as its checkout method.
- A Meta app of your own: developers.facebook.com → My Apps → Create app → use case Other → type Business, in the same business portfolio. Add the product Facebook Login for Business. The app may stay in development mode: it works for the people who hold a role on it, and that is you.
Connecting the shop
Open Meta Commerce → Settings.
- Copy your app's App ID and App secret from developers.facebook.com → your app → App settings → Basic, and save. The secret is kept encrypted and is never shown again; an empty field keeps the saved one.
- Copy the Valid OAuth redirect URI shown on the page into the app: Facebook Login for Business → Settings → Valid OAuth Redirect URIs.
- Press Connect to Meta. Facebook opens and asks what the shop may do: see your Pages, post to them, manage your catalogue, publish to Instagram and tag products there. Agree, and you are back on the settings page, connected under your name.
- Choose the Facebook Page and the Catalogue and save. The list of Pages says which Instagram account is linked to each.
The access holds for about sixty days; the page says until when. Connect again renews it. Disconnect makes the shop forget its access; to take it back at Meta as well, remove the app under Facebook → Settings → Business integrations.
If the lists stay empty, the page says what Meta answered. The usual reasons: you are not an admin of the business portfolio that owns the Page or the catalogue, or you unticked a permission in Facebook's window — connect again and leave them ticked.
The checkout URL
A Shop with checkout on your website needs a checkout URL: when a buyer presses Check out in Facebook or Instagram, Meta opens that address with what they chose. The settings page shows yours; paste it into Commerce Manager → your Shop → Settings → Checkout method → Checkout URL, and run Meta's check there.
When a buyer arrives:
- their cart on your site is emptied and filled with the products and quantities they chose in the Shop;
- a promo code typed in the Shop is applied; one your shop does not take is said on the page;
- a product that sold out or was removed since is said on the page, and the rest stays in the cart;
- the checkout opens — to a guest too, with no account needed;
- Meta's tracking parameters (
fbclid,utm_and the like) are passed on, so your analytics see where the buyer came from.source
Products are matched by the IDs your product feed gives them: the SKU where a product has one, otherwise its number. Keep SKUs free of commas and colons — Meta cannot send those.
Keeping the catalogue up to date
The product feed fills the catalogue on a schedule: Meta fetches it every hour at best, and the feed itself is rebuilt every few hours. In between, a shirt that sold out is still on sale on Instagram. With Keep the catalogue up to date switched on (Meta Commerce → Settings, once connected and with a catalogue chosen), the shop also tells Meta itself:
- a product you save, or whose stock an order takes, is sent to the catalogue within a minute — its price, sale price, stock, pictures and text, exactly as the feed writes them;
- a product you trash, unpublish or hide is taken out of the catalogue;
- the scheduled feed stays in place and repairs whatever was missed, so keep it.
It needs the Ads module (its feed says what an item is) and a queue worker.
Meta Commerce → Catalogue lists every item sent and what Meta made of it: In the catalogue, Sent, waiting for Meta, Taken out, or Refused by Meta with Meta's reason — an image too small, a field missing. Put the product right and save it; it is sent again. Meta answers a few minutes after a product is sent; Ask Meta now asks at once, and Send every product sends the whole shop, which is worth doing once after switching this on.
With the Notifications module, the topic Products refused by Meta's catalogue tells you when Meta refuses something.
From the console: php artisan meta- sends every published product, meta- one product, meta- asks Meta about what was sent (the scheduler does that every five minutes).
Stock changed by the Inventory module's warehouse moves (a receipt, a count) is not sent at once yet: it reaches the catalogue with the next feed, or when the product is next saved.
Posting a product to your Facebook Page
Once the shop is connected and a Page is chosen, every product has Post to Facebook — on its row in the products list and on its own page.
- The text starts as the product's title, price, short description and address. Change it as you like, but keep the address: it is what brings a follower to your shop.
- The pictures are the product's own and its gallery, up to ten; untick the ones you do not want. Without a picture the post is a link to the product, with the picture Facebook finds on its page.
- When — leave it empty to post now, or choose a time. A post planned for later is read against the product when its time comes: if the product has sold out or been unpublished, the post is not sent and you are told.
The post goes out from the queue, as your Page. Meta Commerce → Posts lists every post and how it went: Scheduled, Published (with a link to it on Facebook), Failed with the reason, Cancelled. There a failed post is tried again and one that has not gone out yet is cancelled. A product must be published, without a password and in stock to be posted. It needs a queue worker.
Instagram is not posted to yet.
Posts made by AI agents
An agent connected through the AI module can make posts too — "post the new embroidered shirts to Facebook on Friday at ten". By default such a post waits for your approval: it appears under Posts as Waiting for approval, with a badge on the menu, and goes out only when you press Approve. What is posted to your Page is public and is not taken back by a trash here. A post made by an AI agent in Settings lets agents post without asking.
The agent's tools: meta_ (connected or not, whether a product can be posted, what the catalogue refused), meta_, meta_.
With the Notifications module, the topic A post to Facebook failed tells you when a post does not go out.
Permissions
| Permission | What it covers |
|---|---|
manage_ | Meta Commerce → Settings and Catalogue: the app, Connect, the Page and the catalogue, what was sent to it. Administrators hold it. |
| publish_ | Post to Facebook on a product and Meta Commerce → Posts. Administrators and shop managers hold it. |
What a holder of publish_ posts goes out under your shop's name: give it as carefully as the Page itself.
For developers
Kitloom\—Meta Commerce\ Meta\ Connection connected(),token(),page,Id() catalog,Id() pages(),catalogs();Meta\is the Graph API on Laravel'sGraph Client Http, one pinned version (kitloom-).meta- commerce. graph_ version - The routes are the REST namespace
meta-:commerce/ v1 checkout,connect,connect/.callback kitloom-turns them off.meta- commerce. routes. register Checkout\turns a catalogue ID back into a product and a variation.Catalog Ids:: resolve() Posts\is the only writer ofPost Publisher meta_:posts create(),approve(),retry(),cancel();Events\andPost Sent Events\.Post Failed kitloom-turns the agent tools off.meta- commerce. ai. register Catalog\is the only writer ofCatalog Sync meta_:catalog_ items product($id),all(),check().kitloom-turns the listeners and the schedule off,meta- commerce. catalog. register catalog.the schedule alone.schedule