As a developer hailing from the Republic of Korea, I am currently in the process of creating websites that are based on Facebook and Twitter.
I am interested in utilizing a JavaScript API that allows me to send messages to friends. Initially, I considered using the iframe
Javascript API methods or exploring the option of sending through a Facebook page.
This has left me pondering,
Is there a specific JavaScript API available that facilitates sending messages to friends?
English is not my primary language, hence why I relied on Google translate for this communication. I appreciate your understanding.
(Edited for grammar and clarity)
FB.api (path, "post", {
message: msg,
caption: "caption caption",
link: "http://www.naver.com",
description: "Description Description",
picture: "http://sstatic.naver.net/search/img3/h1_naver.gif",
tag: "Tag",
name: "name names",
access_token: accessToken
}, Function(response) {
if (!response || response.error){
alert("error");
}
else{
alert(response.id);
}
})