OpenSocial applications can use the gadgets.io.makeRequest method to
send HTTP requests to a given URL and retrieve JSON, XML, or plain
text in response. This enables you to build a simple script in PHP,
Java, or any server-side language to you liking to retrieve data from
your database and output this data in just about any format you like.
makeRequest can then retrieve the data by hitting this script.

The following post goes into a bit more detail and includes a couple
of links to help you get started. The option you're looking for is #2:

http://groups.google.com/group/opensocial-orkut/browse_thread/thread/b391a6a8b3e4de40

For security, you can specify that orkut is required to digitally sign
requests before sending them. This way, you can validate the signature
on your server using orkut's public key to confirm that the request is
genuine. Here are a couple of short articles on signed requests:

http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest
(see "Signed Requests" section at the bottom)
http://code.google.com/p/opensocial-resources/wiki/OrkutValidatingSignedRequests

Let me know if you have any more questions on this particular topic.

- Jason

On Sep 22, 11:05 pm, "manish." <[EMAIL PROTECTED]> wrote:
> Hi all .
> I am working for an application on orkut .And i am using mysql
> database.But I have no idea how to connect my database with my
> application and how much it is safe for me.Please help me .
--~--~---------~--~----~------------~-------~--~----~
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