Hello,
I would like to ask (ASAP, how else? :) for functionality of multiple facebook page access tokens for one bot => I would like to use one Microsoft Bot Framework's bot for multiple pages.
Scenario is: Our company has own Facebook page for every big product, but functionality of Bot is same - so that's why I would like to have one bot for all pages (for easier management and development)
Or if you have some workaround (like API for creating bots), please tell me.
Thank you!
Vaclav
hello, please do you have any update about that?
Thanks
Same use case here
Same use case here as well... any updates?
Hi! Anybody got the answer? I have the same case...
At the moment the only way I see to achieve this ("one bot for X FB pages") is to create one bot config for each FB page and to set the endpoint of each bot config to the same botbuilder.
-- UPDATE :
My solution is KO as bot config needs a unique Microsoft APP ID and bot builder can only reference 1 Microsoft APP ID (in the builder#ChatConnector)
any update?
any update?
It seem that one bot can configure for multiple pages. I tested with enter new 'pageId' & 'pagetoken' then resubmit. It work on all my pages.
The problem is UI can not manage , when deauthorize it delete all my pages. Anybody try it?
@vjirovsky are you using C# or Node SDK for BotBuilder?
+1 for this feature. Solution from @Vrety sounds good but it would be great to have an appropriate UI to manage this.
@nwhitmont I am using C#, but this is more about Microsoft's website (administration of bots),isn't?
Still no solution for this? If the Facebook's access token expires the bot stops completely until I manually access the bot framework site and enter the new access token by hand, this is hugely uneffecient and time consuming and the only way of solving this is to provide an API for people to update the bot's info or remove the pageid/access token entirely from FB bot requirement, I don't know the purpose of these since any page connecting to the bot will require a verify token which acts as a password, complicating things for us is not good Microsoft so please help us with this issue.
Any update on this?
+1
@vjirovsky The solution you mentioned has been working for me for almost a year. But starting from Yesterday any page I add replaces the one subscribed before it; This means that the bot stops working on the previous page. All the other pages subscribed over the last year remain working. Is this happening with you as well?
+1
This has turned out to be a bug and it's now fixed with no apparent indication of the intention to provide this feature.
This feature is much needed, any update? @nwhitmont
Nope. Unfortunately, I am building a Facebook bot without Microsoft Bot Framework in the middle.
One possible workaround is to create multiple bot registrations, and point them all to the same hosted bot.
In .net, you can use a MultiCredentialProvider as explained here: https://github.com/Microsoft/BotBuilder/issues/2258#issuecomment-280506334
There is an explanation for how to do the same thing with a node bot here: https://www.microsoft.com/developerblog/2017/01/10/creating-a-single-bot-service-to-support-multiple-bot-applications
@EricDahlvang This still requires to create a facebook app for each one, and ask Facebook to review all of them (1 at a time), am I correct?
I think this is the main issue here
Yes...Someone has asked this question in the comments and the answer was yes.
Any update on this?
Closing, as we are now tracking all Facebook Feature Requests with this issue: https://github.com/Microsoft/BotBuilder/issues/4360
We just added support for multiple Facebook pages.
@mgbennet thank you very much :)
@mgbennet Is there any way bot service to know the FB page from where the messages are coming? Like is there any property in "session" object to refer FB page so that bot can customizations in experience for each page?
@mgbennet Can you help me with the above requirement?
@bhushanvadgave I believe the page's Id should be at session.message.address.bot.id.
Thanks @mgbennet. It helped.
I need one more help:
Is there any way like Facebook channel registration, can multiple skype registrations make use of one bot service?
Or how can we handle multiple bot credentials in BotBuilder NodeJS SDK?
is there ability to automate all this process using api? Question aplies both to MS Bot side (fb channel and pages registration) and to Fb (page creation using api) . Thanks
Most helpful comment
We just added support for multiple Facebook pages.