Hi,

I am newbie working in Shindig. I tried to run a example for sending
message using requestSendMessage method. But it showed an error as
"NOTIMPLEMENTED". Does Shindig java supports this functionality?.  Help
will be appreciated.

sample code :

function sendEmail() {
  var params = [];
  params[opensocial.Message.Field.TITLE]="Hi!";
  var body="Hello Shindig";
  var message = opensocial.newMessage(body, params);
  var recipient = "VIEWER_FRIENDS";
  opensocial.requestSendMessage(recipient, message, callback);
}


function callback(data) {
  if (data.hadError()) {
    alert(data.getErrorCode()); ---->Here it alerts "Not Implemented".
  } else {
    alert("Ok");
  }
}


Thanks in Advance.
Regards,
Pinky Muralidhar.


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

Reply via email to