Just a last comment. You will note that i split all parameters from url using the params attribute. Maybe you can try this. regards, Otávio Ribeiro
2009/6/21 Otávio Ribeiro <[email protected]> > Vince, > i´ve done something like it and it´s working pretty well. The code i used > is the following: > > <os:ViewerRequest key="viewer" fields="name,profileUrl"/> > <os:HttpRequest key="pictures" href=" > http://mysite/service/foto/list" > params="format=json&itens=8&viewer=${viewer.name.givenName}_${viewer.name.familyName}&profile=${viewer.profileUrl}" > refreshInterval="1" method="POST"/> > > maybe you can try the <os:*OwnerRequest* key="owr" />. > > regards, > Otávio Ribeiro > > On Sun, Jun 21, 2009 at 12:58 AM, Vince <[email protected]> wrote: > >> >> Does this make sense? In essence, all I want to do is pass the owner >> id to a HttpRequest url. This is a big issue, and none of my orkut >> friends have an answer as to how to do this using templates. Please >> help. The answerer shall be branded a hero. >> >> On Jun 20, 10:37 am, Vince <[email protected]> wrote: >> > I am having problems passing the owner ID as a parameter to my >> > external server when usign httprequest. My code is as follows: >> > >> > <script type="text/os-data" xmlns:os="http://ns.opensocial.org/2008/ >> > markup" > >> > <os:PeopleRequest userId="@viewer" key="vwr"/> >> > <os:PeopleRequest userId="@owner" key="owr"/> >> > <os:HttpRequest key="gameinfo" href="http://gamejitter.com/ >> > orkut/json.php?ownerid=${owr.id}"/> >> > </script> >> > >> > You can see sample JSON output by going tohttp:// >> www.gamejitter.com/orkut/json.php >> > >> > However, I need to pass the owner ID to json.php as follows: json.php? >> > ownerid={$owr.id} >> > >> > Can any of you orkut developer experts give me a hand? >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

