Jason, I guess requestSendMessage supposed to accept opensocial ID's as the recepient parameter. No matter how I tried it returns "Badrequest"... any ideas?
-ibrahim Jason wrote: > If you haven't already, I suggest that you install CodeRunner. It's an > excellent development gadget that helps you test small snippets of > code easily: > > http://opensocial-resources.googlecode.com/svn/samples/coderunner/trunk/index.html > > Here's a small CodeRunner sample that should give you what you're > looking for. Note, however, that it will only work if the person in > question has CodeRunner installed as well. In general, the person > whose ID is passed must have the same application installed in order > for information to be retrieved. > > /** > * CODERUNNER SAMPLE CODE > */ > function response(data) { > var owner = data.get('req').getData(); > output(owner.getField(opensocial.Person.Field.THUMBNAIL_URL)); > gadgets.window.adjustHeight(); > }; > > function request() { > var req = opensocial.newDataRequest(); > req.add(req.newFetchPersonRequest('01495306580392390900'), "req"); > req.send(response); > }; > > request(); > /********* *********/ > > Cheers! > - Jason > > On May 18, 12:02 am, Sny <[EMAIL PROTECTED]> wrote: > >> How to use getById, I want to fetch some user data depending on id. If >> my uid is 3828386647941719837 and i want thumbnail_url of this >> particular id what I have to do then. >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

