Here's the newest addition to our collection of short OpenSocial
tutorials, this one focusing on the gadgets.rpc library. This library
allows you to define JavaScript functions that use the OpenSocial API
(to post a new update or return a user's friends, for example),
"register" them, then call them from an external page. I hope you find
it useful:

http://code.google.com/p/opensocial-resources/wiki/RPC

- Jason

On Aug 29, 12:18 pm, Jason <[EMAIL PROTECTED]> wrote:
> See my post in this thread (the language being discussed is ASP.NET
> but the same information applies to PHP):
>
> http://groups.google.com/group/opensocial-orkut/browse_thread/thread/...
>
> You basically have the three options that are listed there. The REST
> APIs are right around the corner but they're not available yet. Until
> then, you can use the gadgets.rpc library (third option in my post),
> but documentation is still not available. I will work on expediting
> this so you can play around with the library and get OpenSocial calls
> working from your PHP application.
>
> - Jason
>
> On Aug 28, 9:10 pm, Viveka <[EMAIL PROTECTED]> wrote:
>
> > Is there a guideline to use when calling opensocial APIs from PHP
> > program? I invoke PHP program using content-type="html". Before the
> > control goes to PHP program, I retrieve the viewer and friends'
> > information in javascript and pass them to PHP.
>
> > I want to use opensocial.requestSendMessage and opensocial.Activity
> > within PHP program. For now, it's not possible. I understand that only
> > option is to use a cron job to gather all data and trigger these APIs
> > in javascript when the app is loaded. Is there a simpler way to call
> > opensocial APIs directly from PHP program?
>
> > Thanks..
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to