-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can i send message to multiple profile #66
Comments
My current status is: One message == One recipient |
@manhag FB does not support sending message to multiple recipients yet. If you want to do so you must do it on your own (loop on them and send messages one by one). |
@a-fawzy no it supports batch sending .... |
@wittfabian thanks |
Hi, correct me if I am wrong. |
@wittfabian they are the same ... i think |
Can you show me the link? |
Ok, they are the same |
can you help me to do it ? :) |
I will check the documentation and test the request. |
Emil Hesslow (software engineer @ Facebook) commented on my post on FB developer can you read comments please ?? |
This is how it can be done using curl:
you may get the body string using this:
Do not forget to put your own access token at the end of each relative_url |
I will need this to manage subscribers and I always thought messenger platform is separated from the graph API. So thx @manhag for bringing this to the table 👍 |
@a-fawzy thanks :)
|
I did not try it using php yet but it is tested and working as curl. Kindly note that request sent to the graph API is NOT JSON. |
yes i know here is the complete code
|
This should work
|
Thanks bro :D you can define headers and access_token ONCE only
thanks ^_^ |
In principle, it is the same as if you send each message individually (as "for-each-loop"). |
This also works
|
how can i send message to multiple profile ?
The text was updated successfully, but these errors were encountered: