me had the same problem but why?? Do we need to confugure the stream differently? google pls help!
2008/5/23 humbroll <[EMAIL PROTECTED]>: > > "newFetchActivitiesRequest" is not unavailable in orkut? > > This method specified in opensocail specification 7.0, link below. > http://code.google.com/apis/opensocial/docs/0.7/reference/opensocial.... > > my gadget(to post and retrieve owner_friends activities) code > 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 be occured. whats a problem? > > you can access my gadget full code in > http://hosting.gmodules.com/ig/gadgets/file/108604459617445619978/act.xml > > 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 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 -~----------~----~----~----~------~----~------~--~---