Skip to content

How to connect Instagram and Messenger to TidyDesk.

Answer Facebook Messenger and Instagram Direct messages from TidyDesk. Both come through a free "Meta app" that your business creates and owns, and TidyDesk never sees your Facebook password. Allow about 20 minutes for Messenger and 25 for Instagram the first time. You need to be an admin of your TidyDesk.

Before you start.

  • A Facebook account that is an admin of your business in Meta Business Suite, with full control of your Facebook Page.
  • A free Meta developer account: sign in at developers.facebook.com and accept the terms.
  • A privacy policy page on your website. Meta asks for it before the app can go live, and your Shopify privacy policy works.
  • For Instagram: a professional (Business or Creator) Instagram account, linked to your Facebook Page.

In TidyDesk, open Channels in the menu and choose Facebook Messenger or Instagram under Connect a channel. Name the channel and press Start setup. TidyDesk saves your progress after every step.

Meta changes its screens from time to time, so a button may be named slightly differently from what you read here. The guide inside TidyDesk links to Meta's own help pages for each step.

Facebook Messenger.

1. Create a Meta app.

  1. Go to developers.facebook.com, sign in with the Facebook account that manages your Page, and click My Apps, then Create app. If it's your first time, Meta asks you to register as a developer (free).
  2. Give the app a name only you will see, such as "TidyDesk", and your email.
  3. Choose the use case Engage with customers on Messenger from Meta. If you don't see it, choose Other, then the Business app type, and add the Messenger product from the dashboard.
  4. Pick your business portfolio, finish and click Go to dashboard.

2. Copy the App secret.

In your Meta app, open App settings › Basic. Next to App secret, click Show (Meta may ask for your Facebook password again), copy it and paste it into TidyDesk. It lets TidyDesk check that messages really come from Meta.

3. Connect your Page.

TidyDesk needs a Page access token. Use a System User token: a robot account for your business whose token never runs out, even when someone changes their Facebook password.

  1. Open System users in Business settings and click Add. Give it any name and the Admin role.
  2. Click Assign assets, choose Apps, pick your app and turn on Manage app (full control). Reload the page and check the app is listed under the system user's assets.
  3. Click Assign assets again and give it full control of your Facebook Page.
  4. Click Generate token, choose your app, set expiry to Never and tick pages_messaging, pages_manage_metadata and pages_read_engagement.
  5. Copy the token (it starts with EAA) into TidyDesk. Meta shows it only once: if you lose it, generate a new one.

Then add your Page ID: open your Facebook Page, then About › Page transparency. It's a long number.

4. Set up the webhook.

The webhook is how Meta tells TidyDesk the moment a customer writes. TidyDesk now shows a Callback URL and a Verify token, each with a Copy button.

  1. In your Meta app, open Use cases › Engage with customers on Messenger › Customize (or Messenger › Messenger API Settings) and find Configure webhooks.
  2. Paste the Callback URL and Verify token, and click Verify and save.
  3. Subscribe the Page webhook to messages, message_echoes and messaging_postbacks.

The Messenger webhook step in TidyDesk, with the Callback URL and Verify token

5. Make the app live.

New Meta apps start in development mode, and until you switch them to live only your own team can message you.

  1. In App settings › Basic, fill in a Privacy policy URL, pick a category and save.
  2. Switch App mode at the top of the app dashboard from Development to Live.
  3. If the dashboard asks for anything else before going live, complete it there. Meta lists anything missing on the app dashboard.

6. Test and turn on.

Press Test and turn on. TidyDesk checks the token and Page ID with Meta and subscribes your Page to the app. Then, from your own Facebook account, open your Page in Messenger and send it a message to see it arrive. Last, choose who answers this channel.

Instagram.

Instagram messages travel through the Facebook Page your account is linked to, so the steps are much like Messenger. If you already made a Meta app for Messenger, you can reuse it and skip to adding the Instagram product.

1. Prepare your Instagram account.

On your phone, in the Instagram app:

  1. Make sure the account is a professional (Business or Creator) account: Settings › Account type and tools.
  2. Link it to your shop's Facebook Page, in Settings › Accounts Center (or from your Facebook Page's settings, under Linked accounts).
  3. Turn on Allow access to messages: Settings › Messages and story replies › Message controls › Connected tools. The wording can differ slightly between app versions.

2. Create a Meta app with Instagram.

At developers.facebook.com, click My Apps › Create app, choose the use case Other and the app type Business, and give it a name and your email. On the dashboard, find the Instagram product, click Set up and choose API setup with Facebook login.

3. Copy the App secret.

As for Messenger: App settings › Basic, click Show next to App secret, and paste it into TidyDesk.

4. Connect your account.

Create a System User token as in the Messenger steps, and give the system user full control of both your Facebook Page and your Instagram account. When you generate the token, tick instagram_basic, instagram_manage_messages, pages_messaging, pages_manage_metadata and pages_show_list.

Then enter two IDs: the Facebook Page ID (on your Page, About › Page transparency) and the Instagram account ID, listed next to your account on the app's Instagram › API setup with Facebook login page. It's a long number, not your @username.

5. Set up the webhook.

On Instagram › API setup with Facebook login, find Configure webhooks and choose the Instagram object. Paste the Callback URL and Verify token from TidyDesk, click Verify and save, and subscribe to messages.

The Instagram webhook step in TidyDesk, with the Callback URL and Verify token

6. Make the app live, then test.

Switch the app to Live as in the Messenger steps, then press Test and turn on in TidyDesk. From another Instagram account, send your business account a direct message to see it arrive.

Good to know.

  • Meta only lets you reply within 24 hours of the customer's last message. After that TidyDesk tells you before you write, and you can still add internal notes.
  • Messages you send from the Facebook or Instagram app also show up in TidyDesk.
  • Pictures customers send show in the conversation from Meta's copy, which Meta removes after a while. Sending files from TidyDesk isn't supported yet.
  • To connect several Pages or Instagram accounts, create one Meta app for each.

If something doesn't work.

  • "Verify and save" fails in Meta: copy the Callback URL and Verify token from TidyDesk again, exactly, and make sure the earlier steps are saved.
  • Generate token says "No permissions available": the app isn't assigned to the system user yet. Assign it with full control, reload the page, and try again. Can't see your app in the list? Add it to your business first: Business settings › Accounts › Apps › Add.
  • Customers' messages never arrive: the app is still in Development mode, messages isn't subscribed, or (for Instagram) "Allow access to messages" is off. Running the test again re-subscribes your Page.
  • The token stopped working, or is missing a permission: create a new System User token with every permission listed above, and paste it into the channel's settings.

Back to all help guides. Still stuck? Email hello@tidydesk.net.

Every conversation, tidied up.