---------------------------------------------------------------------------code---------------------------------------

function postActivity() {

var req = opensocial.newDataRequest();
        req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.OWNER), 
'owner');

var owner = data.get('owner').getData();

var owner_pic = owner.getField(opensocial.Person.Field.THUMBNAIL_URL);





         var title = " hiii ";
          var body = owner_pic +"<a href="demo.com"><img height="250"
src="http:/www.fff.com/gp.jpg"></a>";
          var params = {};
          params[opensocial.Activity.Field.TITLE] = title;
          params[opensocial.Activity.Field.BODY] = body;
          var activity = opensocial.newActivity(params)
          opensocial.requestCreateActivity(activity,
opensocial.CreateActivityPriority.HIGH, function() {});
        }


---------------------------------code
end-----------------------------------------------------


plz help    ,,,  put the full code i think it needs minor modificationsss .


soo . plz  post full working codeee

--

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


Reply via email to