botmasterai / botmaster-messenger

The Facebook Messenger Botmaster integration
MIT License
15 stars 9 forks source link

Messenger Code API #2

Closed ansarizafar closed 7 years ago

ansarizafar commented 7 years ago

Thanks for all the hard work and publishing V3. Above mentioned feature would also be a useful addition. Messenger Code API can also be used for this use case Support handling Multiple Facebook pages

jdwuarin commented 7 years ago

No worries. Because of how Botmaster works, supporting multiple Facebook pages already works out of the box. All you need to do is create multiple messenger bot instances with multiple credentials and then add them to your botmaster instance. When you get an update, you can then answer from a different bot simply by using botmaster.getBot if you are so inclined. And thus, have your your user swap the bot they are talking with. I'll close this issue for now. If it's unclear however, or something else should be added, please reopen it.