Rajasekhar
unread,Nov 20, 2008, 3:22:55 AM11/20/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Orkut Developer Forum
HI everybody
When i am usig this code for sending streams .I am using 0.7
version .I am unable to post activity to my friends.
function postActivity(feed,type)
{
var data = {};
data[opensocial.Activity.Field.TITLE] = "Title";
data[opensocial.Activity.Field.BODY] = "Created Flinkit";
var activity = opensocial.newActivity(data);
opensocial.requestCreateActivity(activity,
opensocial.CreateActivityPriority.HIGH, callback
);
}
function callback(response)
{
console.log(response);
}
i am getting error like
----------------------------------------------------------------
a is undefined
t_li(undefined, true, undefined, undefined)common042.js (line 216)
t_mi("{"title":"Title","body":"Created Flinkit","mediaItems":[]}")
common042.js (line 215)
S(Object s=create_activity f=sunitha@#$ veernapu c=0)rpc.js?c...
226604914 (line 155)
b()()rpc.js?c...226604914 (line 121)
[Break on this error] function t_li(a,b,c,d){t_e.gadgets.rpc
[t...t_ai);t_Q("openGadgetReportFloat",t_ci);
-----------------------------------------------------------------
any bidy help me very urgent