[OpenSocial] Re: Creating my XML file with php

2008-06-10 Thread Luciano Ricardi
Adding a hint for you... Create a PHP file like this: ?php echo $header; include(file_with_layout.php); echo $footer; ? Where: $header = ?xml version=\1.0\ encoding=\UTF-8\ ? Module ModulePrefs title=\Meu Gadget\ Require feature=\opensocial-0.7\/ Require feature=\views\ /

[OpenSocial] Re: Backend for OpenSocial Applications

2008-06-04 Thread Luciano Ricardi
Prafulla, This is totally possible. Actually, in version 0.7 you can use the MakeRequest() call: http://code.google.com/apis/opensocial/docs/0.7/devguide.html#Remote_Content To 0.8, many improvements related to server communications are being implemented with RESTful API.

[OpenSocial] Re: An application made with the OpenSocial runs in all Social networks?

2008-06-03 Thread Luciano Ricardi
Yep! And you can create your own Social Network for tests using Shindig... http://incubator.apache.org/shindig/ :) On Tue, Jun 3, 2008 at 7:12 AM, Ted Chien [EMAIL PROTECTED] wrote: Find a social network service that is a OpenSocial container and then work on it. For example: Orkut, Hi5,

[OpenSocial] Re: Can we Connect SQL Server 2005 using Open Social API's

2008-06-02 Thread Luciano Ricardi
Asif, I suggest you read about MakeRequest() call: http://code.google.com/apis/opensocial/docs/0.7/devguide.html#Remote_Content It's all you need to integrate your gadget with your local database (via some webscript or CGI or WS or... ) On Mon, Jun 2, 2008 at 4:14 AM, Asif [EMAIL PROTECTED]

[OpenSocial] Re: Can we access our local SQL Server 2005 data using Open Social API's?

2008-06-02 Thread Luciano Ricardi
Read about MakeRequest() call. http://code.google.com/apis/opensocial/docs/0.7/devguide.html#Remote_Content On Mon, Jun 2, 2008 at 7:19 AM, David [EMAIL PROTECTED] wrote: That is surely a doubt that I have too..But I don't believe it is possible, is it? On Jun 2, 5:29 am, Asif [EMAIL

[OpenSocial] Re: Is Orkut Caching the result

2008-05-16 Thread Luciano Ricardi
This is not the forum to orkut applications, but... yes, Orkut (or the Opensocial Containers) does cache almost everything... and there a lot of reasons to do it... Remember that your application will be used by millions of people... Here is some things you have to read before develop to orkut

[OpenSocial] Re: OpenSocialApi for external applications.

2008-05-16 Thread Luciano Ricardi
Hmmm... maybe you have to see the things by other side... What you should to do is to develop the Opensocial Application that interacts with your remote server (gererally using the MakeRequest() call). Then you could do things like you describe... So, acctually it's not possible that your remote

[OpenSocial] IE6 and IE7

2008-05-15 Thread Luciano Ricardi
Hi all, We are developing some complex gadgets that interacts with our external servers and, we are having a lot of problems when using IE6 and IE7. On Firefox, for example, that works fine. The errors are on javascript generated by OpenSocial Container, and there are so many... Is someone

[OpenSocial] Re: IE6 and IE7

2008-05-15 Thread Luciano Ricardi
People, I've found the problem... there was an , after an element in the makePostRequest... So, if you have some IE related problem, review EVERY line on your code... and use a great Js debuuger!! Sorry by the post Luciano On Thu, May 15, 2008 at 10:39 AM, Luciano Ricardi [EMAIL

[OpenSocial] Re: Simple Security Question about makeRequest()

2008-04-04 Thread Luciano Ricardi
requests yet and don't know much about OAuth] On Apr 2, 11:12 am, Luciano Ricardi [EMAIL PROTECTED] wrote: When using the SIGNED authorization type in a makeRequest() call, the signature that are sent in the request parameters url are logged in our Web Server log file. So, if someone

[OpenSocial] Simple Security Question about makeRequest()

2008-04-02 Thread Luciano Ricardi
When using the SIGNED authorization type in a makeRequest() call, the signature that are sent in the request parameters url are logged in our Web Server log file. So, if someone (maybe a bad person) accesses these logs, they could use this URL to send a direct access to my application and

[OpenSocial] Re: Suggestion for OAuth-signed phone home requests

2007-12-05 Thread Luciano Ricardi
I really think that some few changes on the working method of _IG_FetchContent() could bring some great security gains on OpenSocial until the OAuth be implemented. Let's take the Orkut Sandbox for an example: 1 - We received the calls from Sandbox Proxies just from 3 proxies... 66.249.84.15

[OpenSocial] Re: Suggestion for OAuth-signed phone home requests

2007-12-05 Thread Luciano Ricardi
/opensocial/web/whats-up-with-opensocial On Dec 5, 2007 12:07 PM, Paul Lindner [EMAIL PROTECTED] wrote: Please read this: http://opensocialapis.blogspot.com/2007/11/improved-content-fetching-for.html On Wed, Dec 05, 2007 at 11:01:47AM -0300, Luciano Ricardi wrote: I really think that some few

[OpenSocial] Re: Multi-File Google Gadgets

2007-11-29 Thread Luciano Ricardi
Well, case you need some javascript includes... you can simply do something like... script type=text/javascript src=http://remotesite/your.js; // Some code /script Case you need remote content, you have to use _IG_FetchContent() function. Remember that all javascript code are not evaluated by

[OpenSocial] Re: Basic Security Questions... please help

2007-11-26 Thread Luciano Ricardi
Well, This is actually on of the main problems with Opensocial. In this article Improved Content Fetching for OpenSocial ( http://opensocialapis.blogspot.com/2007/11/improved-content-fetching-for.html), Graham Spencer talks about the spoof problem in Opensocial. I believe that one mode is,

[opensocial] Re: Getting a person's picture

2007-11-07 Thread Luciano Ricardi
try var thumbnail = person.getField(opensocial.Person.Field.THUMBNAIL_URL); The thumbnail var is a string tha stores the relative thumbnail address.. On Nov 7, 2007 9:29 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: person.getField ('picture') doesn't work for me. It keeps returning

[opensocial] Re: opensocial is not defined

2007-11-06 Thread Luciano Ricardi
Hmmm... 2 refreshes and the problem go away... maybe some API server code maintenance? :) Well... it's working now without this error... On Nov 6, 2007 8:54 PM, Chris Chabot [EMAIL PROTECTED] wrote: Cache-Control no-cache, must-revalidate, no-cache=Set-Cookie, private Expires Fri, 01 Jan 1990

[opensocial] Re: opensocial is not defined

2007-11-06 Thread Luciano Ricardi
Good job! It's working fine now! :) On Nov 6, 2007 10:57 PM, Arne Roomann-Kurrik (Google) [EMAIL PROTECTED] wrote: A problem that was leading to 502 responses has been identified and fixed. Can someone who was consistently getting these errors please try again and post regarding whether