facebookfacebook-graph-apifacebook-javascript-sdk

Facebook - How to send automated private messages to friends now (Oct. 2015)?


I was researching this topic and I found that there was an answer in StackOverflow in 2013. It uses "send dialog" api of Facebook.

However it couldn't send automated/pre-filled message on behalf of the user. Is it still true now as of Oct. 2015?

Another similar question was asked here in 2012.


Solution

  • First of all, prefilling is not allowed according to the platform policy. That being said, the Chat API is gone and there is no alternative. You can't send messages with any API anymore, you can only use the Send or Message Dialogs. See official docs for more information about those.

    Automated messages to friends would ALWAYS be spam, so there is a good reason why it is not possible and not allowed.