Facebook setup

Automatically publish deals on Facebook Pages by connecting a Meta app.

Facebook setup

AutoDeals can also publish deals on Facebook Pages automatically. The setup is done from the Telegram bot, not the mini-app.

Channel โ†’ Settings โ†’ Integrations โ†’ Facebook
โ„น๏ธ
Facebook **Groups** are not supported: AutoDeals only publishes to Facebook Pages.

What you need

  • A Facebook Page you manage.
  • A Meta for Developers account.
  • A Meta/Facebook App.
  • Permissions to publish on Pages.

Data to grab from Meta

From the Meta dashboard you need:

  • App ID;
  • App Secret;
  • Client Token.

App ID and App Secret are usually in App Settings โ†’ Basic, while Client Token is in advanced settings.

Setup in the bot

  1. Open AutoDealsBot.
  2. Select the channel.
  3. Go to Settings โ†’ Integrations โ†’ Facebook.
  4. Press Configure Facebook App.
  5. Enter App ID.
  6. Enter App Secret.
  7. Enter Client Token.
  8. Go back to the Facebook menu.
  9. Press Link pages.
  10. The bot shows a code and a Facebook link.
  11. Open Facebook, enter the code, and authorize the app.
  12. Go back to the bot and press Verify link.
  13. Open Linked pages.
  14. Enable the pages you want to publish to.
  15. Set a daily limit if needed.
  16. Enable Automatic publishing.

Limits

  • Maximum 3 Facebook Pages per Telegram channel.
  • Each page has a configurable daily limit.
  • If Facebook errors out, the Telegram post is not blocked.
  • AutoDeals avoids publishing the same post twice on the same page.

Amazon tags dedicated to Facebook

You can configure Amazon tags specific to Facebook:

  • Telegram keeps using the normal channel tags.
  • Facebook uses the dedicated tags, when configured.
  • You can set a default tag and marketplace-specific tags.
โš ๏ธ
Tag swapping works on direct Amazon links. If the post already contains a shortlink, AutoDeals cannot safely rewrite the destination.

Common errors

If you don't see your page, check:

  • you are an admin of the Page;
  • you selected the page during authorization;
  • the Meta app has the required permissions;
  • the app is Live if external users are involved.

If the Facebook code expires, press Link pages again.

If Telegram publishes but Facebook doesn't, in the Facebook menu check:

  • the app is configured;
  • at least one page is enabled;
  • automatic publishing is on;
  • the daily limit isn't reached;
  • no recent error on the page.