Skip to main content

Notifications

Community site session details

Community site session details

Session Id : PUCE/FeQaGeVVutP/aPnCS
Copilot Studio - Publish & Channel Management
Unanswered

Issues publishing Facebook Chatbot

Like (2) ShareShare
ReportReport
Posted on 18 Nov 2021 18:18:13 by 4

Hi all,

 

We're trying to publish a chatbot to Facebook, but we're having an issue with this process.

 

We're following this guide, but it's not working:

https://docs.microsoft.com/en-us/power-virtual-agents/publication-add-bot-to-facebook

 

I'm going to add text in red to differentiate from the Microsoft KB text.

 

According to the guide:

 

  1. Sign in to the Facebook app that you want to add your bot to at Facebook for Developers.

  2. Under Settings on the side menu panel, select Basic .

  3. Copy the App ID and App Secret. You will need these when you configure the Facebook channel in Power Virtual Agents.

     

This is our Facebook Developer's page for the App we created:

eg3.png

And we copied over the AppID + Secret to the Facebook Channel in PowerVA:

eg10.png

 

The guide says:

Enable API access for your Facebook app:

  1. Sign in to the Facebook app that you want to add your bot to at Facebook for Developers.

  2. Under Settings on the side menu panel, select Advanced.

  3. Make sure Allow API Access to App Settings is set to Yes.

  4. Select Save Changes to confirm your changes.

1channel-fb-allow-api-access.png

This is our page:

eg7.png

Next is says:

 

Add Facebook Messenger to your app:

  1. Sign in to the Facebook app that you want to add your bot to at Facebook for Developers.

  2. Go to the Dashboard. Under the Add a Product section, select Set Up on the Messenger tile.

2channel-fb-add-messenger.png

Now this was where it's a bit different from our view:

eg8.png

Still we clicked Settings.

 

The next step indicated is:

Configure Facebook pages:

  1. Sign in to the Facebook App that you want to add your bot to at Facebook for Developers.

  2. Select Settings under Products and Messenger on the side menu panel.

  3. Add the pages you want to add the bot to by selecting Add or Remove Pages under the Access Tokens section. You can also create a new page by selecting Create New Page.

We added our existing page:

eg6.png

 

Ok, next:

Copy the Page ID and Token for each of the pages that you want to add the bot to. You'll need to select Generate Token for each page. You'll need these when you configure the Facebook channel in Power Virtual Agents.

 

We've done this:

eg10.png

Next we're to add the credentials and tokens:

Configure the Facebook channel in Power Virtual Agents

  1. In Power Virtual Agents, select Manage on the side navigation pane, and then go to the Channels tab.

  2. Select the Facebook tile to open the configuration window.

     

     

  3. Paste the App ID, App Secret, Page ID, and Token you retrieved earlier into their corresponding fields.

     

     

  4. At least one page is required, but you can select Add Page to add additional pages.

     

     

  5. Select Add and wait for the success confirmation message. Once successful, copy the Callback URL and Verify token. You'll need these when you connect your Facebook app to Power Virtual Agents.

This has been completed:

eg10.png

Next, we're to add the feedback url:

Connect your Facebook app to Power Virtual Agents

  1. Sign in to the Facebook app that you want to add your bot to at Facebook for Developers.

  2. Select Settings under Products and Messenger on the side menu panel.

  3. Under the Webhooks section, select Add Callback URL.

     

     

  4. Provide the Callback URL and Verify token from the Configure the Facebook channel in Power Virtual Agents section and select Verify and Save.

that's also been added:

eg10.png

 

Next:

 

  • Select Add Subscriptions for each page that you want to add the bot to.

     

     

  • Select the following fields:

    • messages
    • messaging_postbacks
    • messaging_optins
    • message_deliveries

This has also been completed (I dont have a screenshot of this).

Next:

Submit for Facebook review

You need to submit your app for Facebook review before you can make your Facebook app public. Facebook requires a Privacy Policy URL and Terms of Service URL. You need to provide those on the Facebook basic app settings page (after signing in to your app at Facebook for Developers, select Basic under Settings on the side menu panel).

 

We added the URL's, and we dont see a Submit for review.

Lastly:

Make the app public and publish the page

Until the app is published, it is in Development Mode. The bot will not be public and it will work only for admins, developers, and testers.

After the review is successful, in the app's Dashboard under App Review, set the app to Public. Ensure that the Facebook Page associated with the bot is published. The status appears in the Pages settings.

 

We published our bot, but it's not working. If you try to chat with it, you get the default Messenger greeting. We dont know what's wrong...

 

 

  • OultonCollegeIT Profile Picture
    16 on 23 Jul 2024 at 12:13:14
    Issues publishing Facebook Chatbot
    Did the same I m stuck on the Facebook developer app, for start business verification. And I am owner of the facebook page. Left a thread on facebook community, no bites. Very frutrating when documentation is not following, or change of rules

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - Publish & Channel Management

#1
Ekta Gupta Profile Picture

Ekta Gupta 9

#2
garzajp93 Profile Picture

garzajp93 6

#3
rzaneti Profile Picture

rzaneti 2 Super User 2025 Season 1

Overall leaderboard

Featured topics

Loading started