Same

version 6 does not support stream class

Raja

On Jan 20, 2008 11:09 PM, Marc Wessely <[EMAIL PROTECTED]> wrote:

> I guess in OS 0.6 version stream object does not longer exist!
>
> 2008/1/20, Vitaly <[EMAIL PROTECTED]>:
>
> >
> > Hi
> >
> > In Orkut dev guide you have an example how to obtain application id. I
> > tried to use it but no success
> >
> > function request() {
> >     var req = opensocial.newDataRequest();
> >     req.add(req.newFetchActivitiesRequest ("VIEWER"),
> > "viewer_activities");
> >     req.send(response);
> >   };
> >
> >   function response(data) {
> >     var ret = data.get("viewer_activities").getData();
> >     var appId =
> > ret["requestedStream"].getField( opensocial.Stream.Field.APP_ID);
> >
> >     /* appId now contains the application ID number... */
> >   };
> >
> >   request();
> >
> > The matter is that ret does not contain element of array
> > "requestedStream". Is there another way to get applciation Id?
> >
> > Regards
> > Vitaly
> >
> >
> >
>
> >
>


-- 
RajaSekhar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Discussion" 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