I'm trying to make my application send Activities using templates,
following these samples:

http://code.google.com/apis/opensocial/docs/0.8/reference/#opensocial.Activity
http://code.google.com/apis/opensocial/docs/0.7/reference/opensocial.Activity.html

-------------------- BEGIN CODE --------------------

var activity = opensocial.newActivity('LISTEN_TO_THIS_SONG', {Song:
'Paint it Black',Artist: 'Rolling Stones', Subject: viewer, Owner:
owner})
opensocial.requestCreateActivity(activity,
opensocial.CreateActivityPriority.HIGH, SendActivityCallback);

-------------------- END CODE --------------------

But it always fails with the error "You must pass in an activity with
a title or title id". I can only send Activities if I don't use
templates.

Anyone has any ideas what may be causing this error?

URL for my test application:
http://189.39.44.79:8091/activitysample/activitytest.xml

--~--~---------~--~----~------------~-------~--~----~
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-orkut@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to