Charca / bootbot

Facebook Messenger Bot Framework for Node.js
MIT License
974 stars 253 forks source link

Same bot for multiple pages #125

Open tadejmagajna opened 6 years ago

tadejmagajna commented 6 years ago

Is there a way I could make the same bot work for multiple pages?

I know there's a proposed solution mentioned here, but I'm wondering if there's a simpler way of doing it without spinning up several bots, like passing an array for the accessToken property, as I see no reason why that shouldn't be possible.

Thanks, Tadej

mraaroncruz commented 6 years ago

What is your use case? Are all bots identical?

tadejmagajna commented 6 years ago

Maybe I wasn't clear enough. I need one bot (one running instance) to be able to chat to multiple pages

Charca commented 6 years ago

I've seen a few issues requesting this feature, I think supporting this out of the box would be great for the framework. Does anybody know if/how other frameworks handle this use case for Facebook Messenger?