Facebook won't send notifications from messages sent by a user that was transferred from a bot to the facebook page inbox by the Handover Protocol - facebook

I will name my firstborn after whoever answers my question!
My bot uses the Handover Protocol to transfer users from the bot (primary receiver) to the page's inbox (secondary receiver) after they tap on a 'chat with human' button, the problem is that I'm not getting any facebook notifications when the user starts messaging a human (page inbox).
Right now I'm having the bot email me anytime it transfers a user to a human but this fix obviously doesn't scale, ideally I would want facebook to send me notifications on my phone just like it does by default to pages that receive messages and don't have any bots installed.
I know I can see the messages sent to a human by using the 'standby' webhook but those are developer-side server logs, what I want are normal facebook notifications sent to the page owner and the people in the page's Roles so they reply to those messages instead of me (the developer) being the only one being notified through emails I have to send myself.

1.You have to go to Your Page--> Settings--> Notifications--> Select this option
from Messages- "Get a notification each time your Page receives a message".
2.Download "Facebook Pages Manager" App to get all your page related notification
on your phone.

Related

I can't send messages with WhatsApp Business Cloud API

I am trying to send a message through WhatsApp using WhatsApp Business API, but it doesn't work.I created a new whatsapp application on the Facebook developers page. I entered my own phone instead of the test phone from the "Getting started" page. I'm trying to send a message with the sample api found on the "Getting started" page. I press the 'Send Message' button. I get the response "Message sent successfully". I can see that messages are sent in the statistics section on Facebook Business (https://business.facebook.com/wa/manage/insights/). However, messages do not come to the specified phone number.The messages I sent are not being delivered. "The first 1000 messages initiated by the business are free." specified as. So I should be able to send messages without a message problem. I have not made any payments as of now. It also asks me to add the receiving phone when I want to try the "Test number". The recipient sends a verification code when adding their phone. However, the verification code is not coming to the phone. Where am i doing wrong?
here are my results

Send a message as a user to another one

Is it possible to send messages as a real user (not a page. For example myself) to another user using the Facebook Graph API?
In other words, can I create an app that will make an API call which will send a message as myself to a friend of mine (as if I have sent it myself)
The send and conversation API seems to be only about sending and receiving messages as a page
No, there is only an API for Page to User communication, but not for User to User communication.

On Facebook - changing SMS message when selling items

When user buys something from a Facebook application by SMS, he/she receives a message encouraging to buy this item - is this possible to change the contents of this message?
whenever you make a request call through SMS, based on the content, it replies bacl from the list of avaiable responses.

invite gtalk user via xmpphp

I have set up a basic install of XMPPHP and to test it I tried sending a message from one of my gtalk (GoogleTalk) accounts to another gTalk account. The receiving account did not show the message, or the normal "user * has sent you a message: accept/block"
I then sent my receiving account a chat message from within the Google interface, and it prompted me (as expected) to add my account to the list of approved chat people.
Once my sending account was on the "approved" list, i was able successfully to send messages with xmpphp with no problem.
My question: Using xmpphp, how do i send an INVITATION to chat? I can send messages fine once the recipient accepts my incoming chats, but the first message sent does not trigger the chat program to prompt me to accept the messages.
As a follow-up...is there a way to find out if the recipient has accepted the request? ANy way to know that the messages are being delivered (or not)?
I had the same problem and the solution is to send a "subscribe" request before the message.
So just call
$conn->subscribe('someguy#someserver.net');
before
$conn->message('someguy#someserver.net', 'This is a test message!');

How can I send email to someone's #facebook.com address without it landing in the "Other Messages" folder?

Facebook filters many messages to the Other Messages folder (http://betabeat.com/2011/12/return-of-laptop-lost-in-taxi-foiled-by-facebooks-obscure-message-folder/).
Does anyone know how they filter incoming mail to #facebook.com email addresses? Can non-friends email users at #facebook? Can apps?
If the user replies to an e-mail in the Other messages folder, that e-mail address is then whitelisted, and subsequent e-mails will end up in the Messages folder.
I read somewhere that you only have to move a message from Other messages to Messages to whitelist the sender of that message, but that doesn't seem to work.
According to this facebook help center post:
You'll see mostly messages from friends and people you may know (ex: friends of friends) in your inbox. Typically, messages from other people will go to your Other folder, and you won't receive a notification about them.
You may sometimes get messages in your inbox from people you're not connected to. Some examples of when these messages may go to your inbox are:
A friend of a friend includes you in a message along with some of your mutual friends
A member of a group you're in messages you or includes you in a message
A friend who isn't on Facebook uses your contact info to send you a message from the Facebook Messenger app.
Additionally, someone you're not connected to on Facebook may pay to ensure their message is routed to your inbox instead of your Other folder.