web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / PVA on Facebook Messenger
Copilot Studio
Unanswered

PVA on Facebook Messenger

(0) ShareShare
ReportReport
Posted on by 6

Hi all!

 

I have integrated my bot with Facebook Messenger and it works. But now, how can I get the userID and the user name that is talking with my bot? And, I can I show template messages to my users (buttons, a carrousel, media content)? Do I need to do POST requests to Facebook API?

 

Thanks for the help,

Regards,

Ruben

Categories:
I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @rubcosta ,

     

    1- You can use the Username and the userId with Authentication inside the Azure.

     https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication

    Or you can create an idea inside the forum to get by default these properties:  https://aka.ms/pva/community/ideas

     

    2- Maybe you can use the markdown inside the messages integrated to Power Automate, but you can get some limitations inside the Facebook message. https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support

    Or you can use the PVA questions to show buttons.

     

    3- No, you will use only the chat inside the Facebook messenger. If you want to advance inside the Facebook connections, you can integrate with Power Automate to realize some POST requests. 

  • rubcosta Profile Picture
    6 on at

    Hi @renatoromao,

     

    Thanks for the answer. I already see this answer in another topic and I also saw your videos. But to be honest, for me does not make any sense I need to authenticate a user that should be already authenticated. I mean, if you are in your Messenger app of your mobile talking with the bot, the bot needs to have soma basic information about the user, and information like id and the name, they need to have! I already tested another bot platforms and they have it! So for me, need to show a login button to user and authenticate the user, don't make sense. I'm Portuguese, we can have this discussion in Portuguese if you want.

     

    About the Facebook Template messages, the only way that I have is to use the Facebook API. BUT using Facebook API to show buttons, I will not have the same behavior that we have if we use PVA questions to show buttons. Unfortunately, PVA questions just show Quick Replies in Messenger.

     

    One more time, if you want to have this conversation in Portuguese, for me it's ok and I will appreciate getting some help to resolve these simples things.

     

    Regards,

    Ruben

     

     

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @rubcosta ,

     

    Great, I'm very happy to see another Brazilian guy to do a lot of things using PVA! 😄 

    I will send in English to help more people, but I appreciate your availability.

     

    Regarding the User properties, I agree with you that using PVA chatbot has some limitations comparing to use of other chatbots. But I think that Microsoft is improving the services and this product with the user's feedback.

    I recommend you post an idea because if get many votes, Microsoft can prioritize this feature inside the Roadmap.

    https://aka.ms/pva/community/ideas

     

    Regarding the Facebook Templates, today you just can use fixed options using Entities or fixed inside Questions into the PVA, not getting the data from Facebook or another database. You can create this idea too inside the Ideas portal.

     

    And I recommend you to follow this documentation to look at which features Microsoft will prioritize in the Roadmap.

    https://docs.microsoft.com/en-us/power-platform-release-plan/2020wave2/power-virtual-agents/planned-features 

  • rubcosta Profile Picture
    6 on at

    Hi @rentomorao,

     

    Just to ensure that I understood your fist answer: If I use the Authentication node, I can get the name and the ID of the user, provided by the Facebook? And after that, can I do the POST requests to the Facebook API to show, for example, carrousels? 

     

    Regards,

    Ruben

     

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @rubcosta ,

     

    It's a difficult way, but yes, you can do it.

    https://docs.microsoft.com/en-us/power-virtual-agents/configuration-end-user-authentication

     

    And you can use the POST API with Facebook using Power Automate, but you cannot show like options that users select because today you can just show options fixed inside PVA. 

  • rubcosta Profile Picture
    6 on at

    @renatomorao,

     

    Ok, I got it! Thanks for the help 😉

     

    Regards,

    Ruben

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard