Skip to main content

Notifications

Community site session details

Community site session details

Session Id : etq/5PsIML9eSquEBn5Qaj
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
    8 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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Loading started