function postActivity(){ var params = {};
params[opensocial.Activity.Field.TITLE] = "
  xyz ! "; params[opensocial.Activity.Field.BODY] =""; var activity =
opensocial.newActivity(params);
opensocial.requestCreateActivity(activity,
opensocial.CreateActivityPririty.HIGH, ActivityCallback);

I have an application... and i want if someone opens my application
the update should go to his/ her friends. For that i have to use above
function.

How to use this function.. I have tried putting this code in
application html file but the text is showing up on file rather than
script

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-...@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en.

Reply via email to