function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
khillan bhardwajkhillan bhardwaj 

Sending/Recieving private messases from facebook using resr api

Hi All,

I want to integrate with Facebook from Salesforce. I am able to create post on wall by using graph api of Facebook. but i want to send/Recieve  private message by using apex.I have used Javescript FB.ui{} method to send message.but using FB.ui user need to login to the popup window. Is there is any other way to send message by using rest api.
Please let me know it is urgent.

Please let me know end point and parameters requied to send private message.

Khillan Singh
Hi Khillan, not sure if the salesforce facebook integration toolkit supports sending receiving private messages. I did not get a chance to review the complete documentation for this but would suggest you to go through the links in the following documentation
khillan bhardwajkhillan bhardwaj
Thanks Ramu,
I have check out the url link that you have provided to me already. i come to know that facebook use SASLauthentication for chat.For it i need to use Xmpp but i do not know how to use SASL.Can you let me know what is end point url for facebook chat.