#summary Examples for using ActivityStreams = Introduction = The following examples demonstrate using the ActivityStream calls in OpenSocial. These samples use [CodeRunner CodeRunner's] `output` call. You can verify that these samples work on Orkut by running the code and then checking http://sandbox.orkut.com/MyUpdates.aspx ==Basic title post== This example posts an entry with a simple title {{{ function postActivity(text) { var params = {}; params[opensocial.Activity.Field.TITLE] = text; var activity = opensocial.newActivity(params); opensocial.requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH, callback); }; function callback(data) { output(data); }; postActivity("This is a sample activity, created at " + new Date().toString()); }}}