have filed the bug! 2008/5/23 Jason <[EMAIL PROTECTED]>:
> > Hi. I'm seeing the same error. Can you file a new bug in the public > issue tracker? This will ensure that the bug is properly tracked and, > as an added bonus, you can receive updates when its status changes. > Thanks! > > http://code.google.com/p/opensocial-resources/issues/list > > - Jason > > On May 22, 11:20 pm, humbroll <[EMAIL PROTECTED]> wrote: > > "newFetchActivitiesRequest" is not available in orkut? > > > > This method specified in opensocail specification 0.7, link below. > http://code.google.com/apis/opensocial/docs/0.7/reference/opensocial.... > > > > my gadget(to post and retrieve owner_friends activities) code like > > below... > > > > > ----------------------------------------------------------------------------- > > var owner; > > function refreshActivities() { > > var req = opensocial.newDataRequest(); > > > > if (!owner) { > > req.add(req.newFetchPersonRequest('OWNER'), 'owner'); > > } > > req.add(req.newFetchActivitiesRequest('OWNER'), 'ownerActivities'); > > req.add(req.newFetchActivitiesRequest('OWNER_FRIENDS'), > > 'activities'); > > req.send(handleActivities); > > > > } > > > > function handleActivities(dataResponse) { > > if (!owner) { > > if(dataResponse.get('owner').hadError()){ > > alert('error in getting owner:' + > > dataResponse.get('owner').getErrorCode()); > > }else{ > > owner = dataResponse.get('owner').getData(); > > } > > } > > var activities; > > if(dataResponse.get('ownerActivities').hadError()){ > > alert('error in getting ownerActivities: ' + > > dataResponse.get('ownerActivities').getErrorCode()); > > }else{ > > activities = > > dataResponse.get('ownerActivities').getData() > > ['activities'].asArray(); > > } > > if(dataResponse.get('activities').hadError()){ > > alert('error in getting activities: ' + > > dataResponse.get('activities').getErrorCode()); > > }else{ > > activities = > > activities.concat(dataResponse.get('activities').getData() > > ['activities'].asArray()); > > } > > > > } > > > > > ----------------------------------------------------------------------------- > > > > "unauthorized" error occurs. > > > > you can access my gadget full code inhttp:// > hosting.gmodules.com/ig/gadgets/file/108604459617445619978/act... > > > > Thanks for your help in advance.. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

