How do you broadcast message for Facebook Messenger?

I am facing issues while creating a Broadcast Messenger message. I can do this broadcast first, but I find that when the bot has to send a message to a large number of users (about 100-200 users). This is very slow and some users do not receive the message.

I would like to ask you guys what:

  • How do you write the code to make the bot broadcast? For me, I just put sendTextMessage in a loop that runs all user ids with page scopes. As far as I know, Facebook is not providing the correct transfer or command to send packets?

  • According to the documentation, the submit API has its limit, but no number is specified. He says "The Messenger Platform maintains a high level of Send API calls." I would like to know how high is the "high speed"?

+3


source to share


1 answer


Facebook just updated its Messenger Platform yesterday (Nov 7). It now supports Broadcast API (beta) and custom label for targeting recipient. It looks interesting.



https://messenger.fb.com/blog/2-2-release/

+1


source







All Articles