You may want to bring it up as a feature request with Friendster.  Check out
the Friendster OpenSocial Apps Developer Group:
http://www.friendster.com/group/tabmain.php?gid=1966730

Cheers,
~Arne

On Tue, Sep 16, 2008 at 8:55 AM, Jarebb <[EMAIL PROTECTED]> wrote:

>
> Hi Arne,
>
> Thanks for your replies.
>
> Still cannot. Friendster haven't implement that function
>
> Thanks
> Jarebb
>
> On Sep 16, 11:22 am, [EMAIL PROTECTED] wrote:
> > Hm, it looks like you may need to include a <Requires feature="rpc" />
> > to your ModulePrefs section.  Friendster may also not support RPC,
> > which is defined by the spec to be an optional feature.
> >
> > If including the <Requires feature="rpc" /> element works, please
> > respond and I'll work on getting the article updated.
> >
> > Thanks,
> > ~Arne
> >
> > On Sep 15, 5:14 am, Jarebb <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Hi There,
> >
> > > I'm developing an application with friendster and plan to use iFrame.
> > > But I encounter a problem when using gadget.rpc for friendster
> > > application. Ref fromhttp://
> code.google.com/p/opensocial-resources/wiki/RPC,
> > > i copies the solution to my application be it's doesn't work. I gotten
> > > an error, "gadgets.rpc is null or not an object".
> >
> > > The following is my code
> >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <Module>
> > >   <ModulePrefs title="rpc">
> > >     <Require feature="opensocial-0.7" />
> > >   </ModulePrefs>
> > >   <Content type="html"><![CDATA[
> >
> > >   <script type="text/javascript">
> > >     var auth = "password";
> > >     gadgets.rpc.register("remote_alert", function(msg, auth_key)
> > > {
> > >       if (auth_key == auth) {
> > >           alert(msg);
> > >       }
> > >     });
> > >   </script>
> >
> > >   <iframe src="http://www.MyDomain.com?auth=password"; />
> >
> > >   ]]></Content>
> > > </Module>
> >
> > > And this is my HTML code
> >
> > > <html xmlns="http://www.w3.org/1999/xhtml";>
> > > <head runat="server">
> > >     <title>Untitled Page</title>
> > >     <script type="text/javascript" src="
> http://sandbox.ig.gmodules.com/
> > > gadgets/js/rpc.js"></script>
> > >     <script type="text/javascript">
> > >         var re = /auth=([^&]+)/;
> > >         var auth = re.exec(window.location)[1];
> > >         function some_callback() {
> > >             return false;
> > >          }
> > >     </script>
> > > </head>
> > > <body>
> > >     <form id="form1" runat="server">
> > >     <div>
> > >         <a href="#" onclick="alert('local'); gadgets.rpc.call('',
> > > 'remote_alert', some_callback, 'remote', auth);">Alert!</a>
> > >     </div>
> > >     </form>
> > > </body>
> > > </html>
> >
> > > Is it that i forget something else?
> >
> > > Thanks very much for helping.- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 
OpenSocial IRC - irc://irc.freenode.net/opensocial

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" 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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to