You need to sign in to do that
Don't have an account?

How to send message from salesforce to facebook?
Hi,I want to send message to facebook by salesforce so what is the first step to do this?
Thank you
Thank you
You need to sign in to do that
Don't have an account?
It can be possible by Force.com toolkit for Facebook. Please follow the steps in the below link to achieve you request.
https://developer.salesforce.com/page/Facebook_Toolkit
Hope this helps you!
Best Regards,
Deepthi
Try this Script i hope it will work
<script>
function closewindow() {
window.close();
}
FB.init({
appId: '{!id}',
status: true,
cookie: true
});
function postToFeed() {
var obj = {
method: 'send',
to: '{!fbuserid}',
link: '{!$CurrentPage.URL}',
description: 'Testing'
};
function callback(response) {
if (response['post_id']) {
var postId = response['post_id'].split('_')[1];
document.getElementById('msg').innerHTML = "Posted to your wall. " + "<a href=\"https://www.facebook.com/permalink.php?" + "id={!me.id}&v=wall&story_fbid=" + postId + "\">View your post</a>";
}
}
FB.ui(obj, callback);
}
</script>