Thanx for this information,

The application perfectly working but today it gave me undefined
profileUrl value, I do a code to getting the profileUrl is as follows

profileUrl = person.getField(opensocial.Person.Field.PROFILE_URL);

but in firebug it show me profileUrl is undefined, even i have not
change any code. With that sometimes it also show that "opensocial is
not defined", "gadgets.util.registerOnLoadHandler(init) is not
defined", is that some problem in orkut container side, becz after 2-4
minutes all are working perfectly except profileUrl.

Please help us,


On Oct 9, 11:11 pm, Jason <[EMAIL PROTECTED]> wrote:
> We're working through a large backlog; sorry for the delay. Keep in
> mind that we're not approving applications that don't work 
> inhttp://prod.sandbox.orkut.com, which is the production testing
> environment. OpenSocial v0.8 is not yet supported here, so you will
> have to make several changes to your app to "port" it back to v0.7.
>
> - Jason
>
> On Oct 8, 7:03 am, hem <[EMAIL PROTECTED]> wrote:
>
> > Jason, Thanx for your reply Problem solve.
>
> > I have submit that application on last friday but still orkut didn't
> > gave me any response regarding that application approval.
>
> > On Oct 7, 2:23 am, Jason <[EMAIL PROTECTED]> wrote:
>
> > > The opensocial.DataRequest.Group constants were removed from
> > > OpenSocial 0.8. Try using string literals instead:
>
> > > opensocial.requestSendMessage('VIEWER_FRIENDS', message,
> > > notification);
>
> > > - Jason
>
> > > On Oct 3, 1:13 am, hem <[EMAIL PROTECTED]> wrote:
>
> > > > Dear Friends,
> > > >   I have small problem regarding the sending message in version 0.8,
> > > > when I used version 0.7 and write the following code... then it work
> > > > fine,
>
> > > > var selectedReceiverName = new Array();
>
> > > > var params = [];
> > > > thumb = viewer.getField(opensocial.Person.Field.THUMBNAIL_URL);
> > > > var titleName = "<b>"+viewer.getDisplayName()+" Send Message to you
> > > > our Application ..!</b><br>";
> > > > params[opensocial.Message.Field.TITLE] = titleName;
> > > > //params[opensocial.Message.Field.TYPE] =
> > > > opensocial.Message.Type.NOTIFICATION;
>
> > > > var body=" Dear Friend, ";
> > > > body += "<br>"+ "<img src='" + thumb + "'/>" + " has sent <img src='"
> > > > + giftImageUrl + "'/>" +" Image to you for just a Fun.....";
>
> > > > var message = opensocial.newMessage(body, params);
> > > > var recipient = opensocial.DataRequest.Group.VIEWER_FRIENDS;
> > > > opensocial.requestSendMessage(recipient, message, notification);
>
> > > > But when i used same code in version0.8 then it gave me error
> > > > "opensocial.DataRequest.Group is undefined" on this line...
>
> > > > var recipient = opensocial.DataRequest.Group.VIEWER_FRIENDS;
>
> > > > even i have changed the request code in version 0.8 and that code is
> > > > as follows:-
>
> > > > var req = opensocial.newDataRequest();
> > > > req.add(req.newFetchPersonRequest("VIEWER"), 'viewer');
> > > > var viewerFriends = opensocial.newIdSpec({ "userId" : "VIEWER",
> > > > "groupId" : "FRIENDS" });
> > > > var opt_params = {};
> > > > opt_params[opensocial.DataRequest.PeopleRequestFields.MAX] = 100;
> > > > opt_params[opensocial.DataRequest.PeopleRequestFields.PROFILE_DETAILS]
> > > > = [opensocial.Person.Field.PROFILE_URL];
> > > > req.add(req.newFetchPeopleRequest(viewerFriends, opt_params),
> > > > 'viewerFriends');
>
> > > > var viewer = opensocial.newIdSpec({"userId" : "VIEWER" });
> > > > req.send(response);
>
> > > > I am highly appreciate for your help in this problem.
> > > > Thanks 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to