This problem issued below thread. but, not resolved yet.
http://groups.google.com/group/opensocial-orkut/browse_thread/thread/2cfbe77b56884dc3
var params = {};
params[opensocial.Activity.Field.TITLE] = pTitle;
params[opensocial.Activity.Field.BODY] = pBody;
var activity = opensocial.newActivity(params);
opensocial.requestCreateActivity(activity,
opensocial.CreateActivityPriority.HIGH, function(res){
if(res.hadError()){
alert('error code : ' + res.getErrorMessage());
}else{
console.log("activity create success!");
}
});
response include error code like this.
{"originalDataRequest_":{"type":"CREATE_ACTIVITY","parameter":
{"activity":{"stream":{},"title":"testtitle","body":"test
body","mediaitems":[]}}},"data_":null,"errorCode_":"unauthorized"}
plz help me~!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---