[orkut-developer] Re: gifts part 5 not working right

2008-03-04 Thread itamar
Hi, I've encountered this issue too... Now, I must ask, just in case I'm missing something - is there a better way of knowing about this sort of API / behavior changes (preferably, in advance...) ? While I've witnessed this change of behavior while testing my app, there must be a more efficient

[orkut-developer] Re: Application icon

2008-03-04 Thread pacheco
Stared... Tks Arne! Pacheco On Mar 4, 2:19 pm, Arne Roomann-Kurrik [EMAIL PROTECTED] wrote: Correct, changing the icon on the left hand side is not available on orkut for the time being. We are tracking this feature request

[orkut-developer] Re: gadgets.json.parse throwing errors

2008-03-04 Thread JevS
It looks that json objects are returned from database in the following form {quot;idquot;:quot;18039848908241849583quot;}, but gadgets.util.unescapeString (new version of it ?) expect them now to be {#34;id#34;:#34;18039848908241849583#34;} Then gadgets.json.parse just interrupting any

[orkut-developer] FAILED_TO_RETRIEVE_CONTENT Malformed gadget spec URL

2008-03-04 Thread RS
Hi, FAILED_TO_RETRIEVE_CONTENT Malformed gadget spec URL: {app url is displayed here} I used to get this error earlier when v0.7 launched and not seen in last couple weeks, it used to go away by itself (without me doing anything at my end). It seems to hit me again! and this time it didn't go

[orkut-developer] Re: gadgets.json.parse throwing errors

2008-03-04 Thread Jason
Hi Jevs. Thanks for your report; it sounds like there are two separate issues here, one concerning gadgets.util.unescapeString() and the second for gadgets.json.parse(). If you haven't already, please file them in the OpenSocial issue tracker:

[orkut-developer] gadgets.window.adjustHeight stopped working

2008-03-04 Thread Tim C
gadgets.window.adjustHeight worked on Saturday and since has stopped!!! gadgets.window.adjustHeight('1000px'); This worked on Saturday, what has changed? Tim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Orkut

[orkut-developer] Re: gadgets.json.parse throwing errors

2008-03-04 Thread JevS
Jason, I am using data API. Before storing json object I am doing gadgets.json.stringify and then gadgets.util.escape. Then gadgets.util.unescapeString and gadgets.json.parse after reading from database. It was working for few days. Currently having no time to investigate it more. Will try

[orkut-developer] Re: Modifying a widget's content from a remote web app

2008-03-04 Thread Jason
Hi. At present, gadgets can issue asynchronous requests and retrieve a text, JSON, or XML response. The requests can be used to fetch information from a server or post new information to a server. All users have a unique ID, which you can send along with these requests, and certain parameters

[orkut-developer] Data currently not available.

2008-03-04 Thread Mark Lanett
After I do a makeRequest, a yellow box which says Data currently not available. is dropping down at the top of the page. This behavior is new today. My request is successful; my app is behaving normally, but afterwards this box shows up. I assume it's not a developer-related issue; there is no

[orkut-developer] sharing deep-linking

2008-03-04 Thread ohadpr
hi all, we're looking to implement sharing. is there support for sharing in orkut/opensocial? or are we limited to posting stuff to friend's activity streams? when creating any such activities (either activities or sharing), is there a way to supply a link back to a specific item in our app?

[orkut-developer] Re: gadgets.window.adjustHeight stopped working

2008-03-04 Thread Arne Roomann-Kurrik
Hi Tim, This is working for me. Can you link to an application that manifests this problem? ~Arne On Tue, Mar 4, 2008 at 12:18 PM, Tim C [EMAIL PROTECTED] wrote: gadgets.window.adjustHeight worked on Saturday and since has stopped!!! gadgets.window.adjustHeight('1000px'); This

[orkut-developer] Re: opensocial.DataRequest.PersonId.OWNER

2008-03-04 Thread pacheco
hi JevS, tks for point it out for me... In theory i could calculate how much space is left... it's clearly not the best way to get it but it is a possibility anyway. Tks! -- Pacheco On 4 mar, 20:57, JevS [EMAIL PROTECTED] wrote: Hi Pacheco, In theory there is possibilty to know how much

[orkut-developer] Re: gadgets.json.parse throwing errors

2008-03-04 Thread JevS
Ticket #107 created for gadgets.json.parse issue: http://code.google.com/p/opensocial-resources/issues/detail?id=107colspec=ID%20Type%20Container%20Stars%20Summary%20Status. Others recent changes for functions gadgets.util.unescapeString, gadgets.util.escape, gadgets.json.parse,

[orkut-developer] Re: gadgets.json.parse throwing errors

2008-03-04 Thread JevS
Problems are somewhere in the following code: parse:function(text){ if(/^[\],:{}\s]*$/.test(text.replace(/\\./g,@).replace(/[^\ \\n\r]*|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/ g,]).replace(/(?:^|:|,)(?:\s*\[)+/g,))){ return eval((+text+)) } throw

[orkut-developer] Re: Data currently not available.

2008-03-04 Thread Arne Roomann-Kurrik
Hi Mark, Can you provide an example app that demonstrates this problem? I haven't seen this at all and I've been working with the sandbox all day. ~Arne On Tue, Mar 4, 2008 at 2:50 PM, Mark Lanett [EMAIL PROTECTED] wrote: After I do a makeRequest, a yellow box which says Data currently

[orkut-developer] Re: gadgets.json.parse throwing errors

2008-03-04 Thread JevS
Hmm, json2.js from http://swik.net/json/del.icio.us%2Ftag%2Fjson/http%3A%2F%2Fwww.json.org%2Fjson2.js/br2en having same problems- it throws syntax error for blank and invalid input. Since I need JSON.parse to return false instead (as it was in OS couple of days before!), I decided to write my

[orkut-developer] Re: gadgets.window.adjustHeight stopped working

2008-03-04 Thread [EMAIL PROTECTED]
I just tested this and both of the calls below work fine for me: gadgets.window.adjustHeight( '1000px' ); gadgets.window.adjustHeight( 1000 ); Are you remembering to add Require feature='dynamic-height' / to your ModulePrefs ? Are you using the call after the document has finished loading ( eg

[orkut-developer] Re: Modifying a widget's content from a remote web app

2008-03-04 Thread Arne Roomann-Kurrik
What's your use case? It sounds like you want to be able to access the opensocial functions from your server, which will be possible through the REST apis when they are released. ~Arne On Tue, Mar 4, 2008 at 9:44 PM, babygodzilla [EMAIL PROTECTED] wrote: hmmm that sounds like the gadget

[orkut-developer] Re: Modifying a widget's content from a remote web app

2008-03-04 Thread babygodzilla
hmmm that sounds like the gadget sending a GET and POST request to the app server. what about the other way around? that is, the app server sending a GET or POST request to a user's gadget? On Mar 4, 12:31 pm, Jason [EMAIL PROTECTED] wrote: Hi. At present, gadgets can issue asynchronous