[orkut-developer] Re: Different session for each makeRequest?

2009-05-09 Thread eduardorochabr
Sanjay, Maybe the suggestion #1 is the one. Your server would return a random value as the session identifier, and then you send this value again in the iframe. What do you think? On 9 maio, 02:55, Sanjay Patel skpate...@gmail.com wrote: Hi Eduardorochabr, Thanks for the vital input

[orkut-developer] Re: Different session for each makeRequest?

2009-05-08 Thread eduardorochabr
Sanjay, Actually, sessions with makeRequest is a bit different from a regular site. For example, when building a regular site, the browser stores received cookies and send them back in the next request, automatically. With makeRequest, there is no such storage, so you have to do it manually.

[orkut-developer] Re: 'target' attribute stripped off from anchor links on profile

2009-05-08 Thread eduardorochabr
By the spirit of the new profile view policies, I have the feeling that this behavior is the intended one from Orkut Team. The profile page is an Orkut owned page, the rules are very strict now. So I think it's natural that Orkut does not want to have links that open in new windows from the

[orkut-developer] Re: newFetchPeopleRequest failing after user uninstalled app

2009-05-05 Thread eduardorochabr
. Cheers, Shishir On May 5, 9:49 pm, eduardorochabr eduardoroch...@gmail.com wrote: Sachin, It's working now, thanks for the feedback. About retrieving currentLocation, do you know something about that? Some days ago it was working OK, the request retrieved the currentLocation field

[orkut-developer] Re: Profile view help

2009-05-04 Thread eduardorochabr
You need to include this to appear in profile: Require feature=opensocial-data/ Require feature=opensocial-templates Param name=process-on-servertrue/Param /Require On 2 maio, 19:42, R Vianna raavia...@uol.com.br wrote: Hi, I'm also having trouble with profile view. I

[orkut-developer] Re: App not working in Safari

2009-05-04 Thread eduardorochabr
Try calling the request() function like this: gadgets.util.registerOnLoadHandler(function() { request() }) On 2 maio, 19:39, R Vianna raavia...@uol.com.br wrote: Hi everyone, My app is not loading in Safari (both Mac and Windows). Sometimes it loads, sometimes not ... and it doesn't

[orkut-developer] Re: Test for null

2009-05-04 Thread eduardorochabr
See this thread: http://groups.google.com/group/opensocial-orkut/browse_frm/thread/63246e6d5582c1c8/11f1a1506e52bb33#11f1a1506e52bb33 On 4 maio, 03:35, Rajasekhar rajaveern...@gmail.com wrote: i am getting the JSON outpput from the httprequest .how can eval that data and how to get that inner

[orkut-developer] Re: Add app install link in profile view.

2009-05-04 Thread eduardorochabr
I don't know how can you achieve this, but it seems you must not do it anyway: http://code.google.com/intl/en/apis/orkut/docs/orkutdevguidelines.html#profile On 3 maio, 22:35, aj ajaygu...@gmail.com wrote: Hello, In the profile view of my application I want to provide a link that takes

[orkut-developer] Policy Violation

2009-05-04 Thread eduardorochabr
This app is publishing an update just because I installed the app: http://www.orkut.com/Main#Application.aspx?appId=705384512767 I find violations like this all the time, what is the best way to notify this violations? Via this forum or via the link report app? Thanks.

[orkut-developer] Re: Help with os:HttpRequest call

2009-04-30 Thread eduardorochabr
Try this: ul li repeat=${osx:parseJson(songs.content)} a href=${Cur.url} img src=${Cur.albumThumbnail}/ /li /ul If it doesn't work, try removing .content and try again. The 'require=song' doesn't seem to be needed. Let me know if it works. On 30 abr, 03:26, Paresh Joshi

[orkut-developer] Re: Getting data values from json object

2009-04-30 Thread eduardorochabr
I was only successful using the following, including the .content part, after debuging using this tip (item #8):

[orkut-developer] Re: Help with os:HttpRequest call

2009-04-30 Thread eduardorochabr
and still did not work. Any other pointers will be greatly appreciated. On Apr 30, 8:21 am, eduardorochabr eduardoroch...@gmail.com wrote: Try this: ul li repeat=${osx:parseJson(songs.content)}   a href=${Cur.url}   img src=${Cur.albumThumbnail}/ /li /ul If it doesn't work, try

[orkut-developer] Re: Help with os:HttpRequest call

2009-04-30 Thread eduardorochabr
Actually, debugging the app once again, I think we don't need to use parseJson, it comes already parsed. So that would become: li repeat=${songs.content.songs} On 30 abr, 14:50, eduardorochabr eduardoroch...@gmail.com wrote: The last songs must be outside the parenthesis: li repeat

[orkut-developer] newFetchPeopleRequest failing after user uninstalled app

2009-04-29 Thread eduardorochabr
My application has a tab showing recent activities from users. The app requests my server which user IDs have the most recent activities, then it uses newFetchPeopleRequest for retrieving info from these users: ids = [ collection from my server ] var req = opensocial.newDataRequest();

[orkut-developer] Re: Sandbox JS Cache

2009-04-29 Thread eduardorochabr
You can use these settings (The optional tag) on the sandbox. I actually use it in production too... it should only be disabled if your app is really popular: Module base_url=http://sandbox.meucantinho.info; ModulePrefs Require feature=opensocial-0.8/ Optional feature=content-rewrite

[orkut-developer] Re: upload photos

2009-04-29 Thread eduardorochabr
Elaine, it isn't possible. On 28 abr, 15:19, Elaine Cristina elaine2...@gmail.com wrote: Hi, I'm trying to learn to develop applications for orkut. Someone could send me some example of how to upload photos pro orkut using OpenSocial? Is possible? Thanks -- Elaine Cristina Tecnóloga

[orkut-developer] Re: Hello world not showing up in profile

2009-04-29 Thread eduardorochabr
Try to require these modules too: Require feature=opensocial-data/ Require feature=opensocial-templates Param name=process-on-servertrue/Param /Require Let me know if it works. On 28 abr, 21:20, benjackson bhjack...@gmail.com wrote: Apologies for cross-posting this from the

[orkut-developer] Re: OS Templates - Unanswered Questions

2009-04-27 Thread eduardorochabr
Badaro, about 2.b), maybe you can use something like this? span class=aos:.../span span class=bos:.../span On 27 abr, 16:15, Badaro bad...@gmail.com wrote: Hello, I'm reposting a few questions that have been been discussed in this forum for a while, without any official answer from Google:

[orkut-developer] Re: Ongoing improvements to app directory listing

2009-04-24 Thread eduardorochabr
About the new box how does this app compare: It seems that applications showing in profile view gets the value usage/wk updated regardless if the app is showed in canvas view. Is that correct? If yes, this value should be updated only if the someone goes to the canvas view, shouldn't it?

[orkut-developer] Re: How do I look at just my posts?

2009-04-23 Thread eduardorochabr
Click on Profile, on top right menu. On 23 abr, 13:02, steiljes gkhur...@creatifconcepts.com wrote: Sorry, I know this is not dev related. But how do I just look at my posts on this forum? Is there an easy way? I just haven't been able to figure that one out.

[orkut-developer] Re: adjustHeight bug on production

2009-04-22 Thread eduardorochabr
This seems to be fixed. Thanks! On 21 abr, 11:44, eduardorochabr eduardoroch...@gmail.com wrote: Every single browser indeed :) On Mac: FF3, Safari 3.1 On Windows: IE7, Chrome, FF3 Test case: 1) Click To 400px: OK 2) Click To 700px: OK 3) Click To 400px: DOESN'T WORK. Notice that you

[orkut-developer] adjustHeight on Safari

2009-04-22 Thread eduardorochabr
adjustHeight is smooth in all browsers, including Firefox, IE6, IE7, Chrome, but in Safari it isn't. It's the only browser that seems to need a server request to be able to adjust the iframe height. I can see a request to rpc_relay.html being made in Safari's console. All the other browsers

[orkut-developer] Re: adjustHeight bug on production

2009-04-21 Thread eduardorochabr
wrote: Thanks for reporting this, Eduardo. Which browser/OS are you using? It doesn't seem to happen on Linux/FF3. Thanks, Shishir On Apr 20, 10:28 pm, eduardorochabr eduardoroch...@gmail.com wrote: adjustHeight does not change the iframe height when set to a previously used lesser value

[orkut-developer] adjustHeight bug on production

2009-04-20 Thread eduardorochabr
adjustHeight does not change the iframe height when set to a previously used lesser value. This is only happening in production, in sandbox it's OK. Test case: http://pastie.org/452540.txt Click each of the links alternately. It MUST be tested in prod.sandbox.

[orkut-developer] Google Latitude is posting activity on installation

2009-04-19 Thread eduardorochabr
It was very frustating to see that Google Latitude on orkut created an activity on my stream just because I have installed the application. I have made no action at all. Orkut Developer Guidelines is clear about that: MUST: Updates must reflect a user action within your app. I would like to get

[orkut-developer] Re: App height gradually increasing in Chrome if Dynamic Height feature is used

2009-04-05 Thread eduardorochabr
Could you provide more info about it? For example, what is the frequency the method adjustHeight is being called. I remember I had the same issue with Safari (the same Chrome's WebKit HTML engine) and fixed checking if the new value for the height was different from the current one. On 5 abr,

[orkut-developer] Re: Huge change in List in One Night - Urgent

2009-04-05 Thread eduardorochabr
interested too On 4 abr, 18:49, anatoly anato...@gmail.com wrote: seconded Why there is so huge change and no announcement about this? On Apr 4, 5:24 am, Tom myp...@gmail.com wrote: Hellow I Wana ask you why there is so much Change in List In One night is there any working going on

[orkut-developer] Re: Templates - Pending Questions

2009-04-01 Thread eduardorochabr
think eduardorochabr has answered question #1. As for the others, we are in the process of implementing os:NavigateToView and it should be available in a couple of weeks. We do not have support for adjustHeight but will keep you informed when we have a solution for that. I've also confirmed

[orkut-developer] Re: Accessing JSON data using Data Pipeline

2009-04-01 Thread eduardorochabr
anything too... Anyone, please HELP ME!!! []'s, Jota On Wed, Apr 1, 2009 at 12:13 AM, eduardorochabr eduardoroch...@gmail.comwrote: Have you tried the following? div repeat=${owner_data[owner.id].videos}    ${Cur.title} /div On 31 mar, 16:06, Jota jefferson.ru...@gmail.com wrote

[orkut-developer] Re: Templates - Pending Questions

2009-03-31 Thread eduardorochabr
In the last statement, if the viewer is null, viewer.id will fail, so you should test only if the viewer is null: h5 if=${viewer==null}Message Viewer does not have App/h5 On 31 mar, 16:43, Badaro bad...@gmail.com wrote: Hello, I still have a few questions I posted in the past couple of weeks

[orkut-developer] Re: Templates - Pending Questions

2009-03-31 Thread eduardorochabr
Actually, I would go for something like: h5 if=${viewer owner.id == viewer.id}Message Viewer is Owner/ h5 h5 if=${viewer owner.id != viewer.id}Message Viewer has App/ h5 h5 if=${viewer == null}Message Viewer does not have App/h5 On 31 mar, 23:42, eduardorochabr eduardoroch...@gmail.com wrote

[orkut-developer] Re: javascript error while creating activity

2009-03-31 Thread eduardorochabr
Maybe that's because you're trying to create an activity when the viewer is not the owner (which I think you cannot)? On 31 mar, 16:11, Abhijit coolabhi...@gmail.com wrote: I am getting following javascript exception while creating one activity. I am using opensocial 0.7

[orkut-developer] Re: Accessing JSON data using Data Pipeline

2009-03-31 Thread eduardorochabr
Have you tried the following? div repeat=${owner_data[owner.id].videos} ${Cur.title} /div On 31 mar, 16:06, Jota jefferson.ru...@gmail.com wrote: Hi Vijaya, I've tried this way but I'm still having problems... I've tried: ${owner_data[owner.id][videos][title]}

[orkut-developer] Re: Get User Name (Display Name)

2009-03-31 Thread eduardorochabr
The user must have the app for this code to work (replace the 0123... with the actual id): var req = opensocial.newDataRequest(); req.add(req.newFetchPeopleRequest(opensocial.newIdSpec({ userId: '0123456789001234567890', groupId: 'SELF' })), 'person'); req.send(function(r){

[orkut-developer] Re: requestNavigateTo with opt_ownerId

2009-03-13 Thread eduardorochabr
This should work, but Orkut doesn't support the opt_ownerId. You would have to build the link using the user's UID. On 12 mar, 10:17, Hilly hi...@labpixies.com wrote: Hi, I've noticed that in the gadget API its written that you can pass opt_ownerId (the the ID of the owner of the page to

[orkut-developer] Re: why gadgets.io.makeRequest always create a new JSESSIONID ?

2009-03-04 Thread eduardorochabr
You have to handle it yourself, it's not like the browser, which stores this for you in a typical scenario, makeRequest is a different thing. The response data structure probably contains the value of the JSESSIONID, so you have to save somewhere, maybe a global variable, and then send in the

[orkut-developer] Re: orkut apps outage

2009-03-04 Thread eduardorochabr
Thanks for the fix. On 4 mar, 01:14, Vijaya api.vij...@google.com wrote: We'd pushed a fix for the issue this morning and all your apps should be loading fine now. Please let me know if you have any other issues. Thanks for your patience, Vijaya

[orkut-developer] Data Pipelining and Templates

2009-03-04 Thread eduardorochabr
After reading the announcement on OpenSocial blog (http:// opensocialapis.blogspot.com/2009/03/test-drive-data-pipelining- and.html) and the new specs mentioned (http://wiki.opensocial.org/ index.php?title=Data_Pipelining and

[orkut-developer] Re: URGENT: no application but BuddyPoke seems to be making async calls

2009-03-02 Thread eduardorochabr
This problem is happening again right now. On 28 fev, 05:00, sunnydiv sunny...@gmail.com wrote: all my applications were only showing guest view the outage lasted almost 6 hours going up and down several times On Feb 28, 2:43 am, eduardorochabr eduardoroch...@gmail.com wrote

[orkut-developer] Re: orkut apps outage

2009-03-02 Thread eduardorochabr
+1 On 2 mar, 10:27, sunnydiv sunny...@gmail.com wrote: orkut apps outage all applications are loading in guest mode please fix this issue, or at least knowledge it --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[orkut-developer] Re: PROFILE_URL returning undefined on http://orkut.com.br

2009-03-02 Thread eduardorochabr
It's a real issue, it happened last week too. I guess Orkut team visits this forum only once a day, at the begining of the day, so probably they will find the error themselves or will see something wrong only tomorrow morning. On 2 mar, 11:41, Bruno Souza 241...@gmail.com wrote: Hello there!

[orkut-developer] Re: PROFILE_URL returning undefined on http://orkut.com.br

2009-03-02 Thread eduardorochabr
Great! It worked for me too, for a while... On 2 mar, 21:48, Mayank M mayank1...@gmail.com wrote: Here is the solution: instead of calling your basic loading function from ur app getData(); use a time gap of 1 second, i.e write like this: setTimeout('getData()',1000); There is no

[orkut-developer] Re: The end of hope - Orkut opensocial

2009-02-27 Thread eduardorochabr
Why is Orkut not using Caja? http://groups.google.com/group/google-caja-discuss/browse_frm/thread/25bf9042f3abdf7f# On 27 fev, 06:38, Vijaya api.vij...@google.com wrote: We had whitelisted a set of most popular apps on orkut and those are the only ones that still appear on the profile page.

[orkut-developer] URGENT: no application but BuddyPoke seems to be making async calls

2009-02-26 Thread eduardorochabr
With Firebug open, no application seems to be making async calls, like any newFetch... and makeRequest. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Orkut Developer Forum group. To post to this group, send email

[orkut-developer] Re: The end of hope - Orkut opensocial

2009-02-26 Thread eduardorochabr
Sunnydiv, I'm also under the impression that most popular apps are being shown again in profile pages. The biggest problem, IMO, is that we don't know this for sure. What is really happening? Vijaya, is this problem common to other OpenSocial containers or even Facebook? If we must use some sort

[orkut-developer] Re: How to get the begin UserID

2009-02-26 Thread eduardorochabr
Runaway, the process starts by the container making a request to your server-side application. This request will contain a parameter called opensocial_owner_id and also opensocial_viewer_id. On 26 fev, 13:19, Runaway huangguan3112...@gmail.com wrote: I have read the source of Python and Java

[orkut-developer] Re: URGENT: no application but BuddyPoke seems to be making async calls

2009-02-26 Thread eduardorochabr
It seems to be fixed by now. On 26 fev, 15:54, barszcz rudi...@gmail.com wrote: yeah.. got love that.. i think i will 'shut down' my app.. since the users dont stop to ask why its not working and bla bla over me.. :/ On 26 fev, 12:54, eduardorochabr eduardoroch...@gmail.com wrote

[orkut-developer] Re: How to break-up a big gadget source .xml into multiple files

2009-02-25 Thread eduardorochabr
Actually you could have many javascripts and merge them into a single one, possibly applying some minifing algorithm. On 25 fev, 05:44, Vijaya api.vij...@google.com wrote: You could separate the javascript code into multiple files and include each of these files in the gadget spec xml. But,

[orkut-developer] Re: The end of hope - Orkut opensocial

2009-02-25 Thread eduardorochabr
Vijaya, is this the only solution to the security issue? I can imagine this going to sandbox and taking weeks until is production ready. Profile views are only going to be available again through the use of these templates? On 25 fev, 07:02, Vijaya api.vij...@google.com wrote: I am very sorry

[orkut-developer] Opensocial version on production environment

2009-02-21 Thread eduardorochabr
How do we know what exact version is running on production and it's available features? A post from the blog says it's 0.8 and some features are disabled: http://orkutdeveloper.blogspot.com/2008/11/announcing-v08-javascript-support-on.html The opensocial wiki says it's running 0.7, but

[orkut-developer] makeRequest and denial of service (DoS)

2009-02-18 Thread eduardorochabr
If a malicious user opens the application with Firebug and starts to make several calls to makeRequest, this could be considered a denial of service (DoS) attack. Does the API itself has some protection against this? That is, the question is whether the Orkut container identifies too many calls

[orkut-developer] Re: Set External Fetched Data as variable

2009-02-15 Thread eduardorochabr
Could you provide some code? You could paste your alert code. On 14 fev, 06:04, Always Dynamic! manjif...@gmail.com wrote: Hello Guides and members. I need to set external data as a variable to save it in persistence data storage. As i dont want to use query string to pass data! i can alert

[orkut-developer] Re: Scraps in flash get deleted - Any idea?

2009-02-15 Thread eduardorochabr
Aditya, I am affraid this forum does not cover what you're looking for. Maybe you should post the the Official Orkut Help Forum. On 14 fev, 04:57, Aditya Mohatta adity...@gmail.com wrote: Please someone respond from the orkut team. Thank you. -- Forwarded message -- From:

[orkut-developer] Re: Set External Fetched Data as variable

2009-02-15 Thread eduardorochabr
, eduardorochabr eduardoroch...@gmail.comwrote: Could you provide some code? You could paste your alert code. On 14 fev, 06:04, Always Dynamic! manjif...@gmail.com wrote: Hello Guides and members. I need to set external data as a variable to save it in persistence data storage. As i

[orkut-developer] Re: how to implement updates from my friends

2009-02-15 Thread eduardorochabr
var params = {}; params[opensocial.Activity.Field.TITLE] = 'did something'; params[opensocial.Activity.Field.BODY] = DID SOMETHING; var activity = opensocial.newActivity(params); var priority = opensocial.CreateActivityPriority.HIGH;

[orkut-developer] User ID

2009-02-09 Thread eduardorochabr
Hi all, My opensocial_owner_id is 00111653129635314360. If I save this as a string primary key, the table will be slower and bigger than if I store this as an integer primary key. May I ignore these two zeros on the left and use the value as integer? Or should I append a 1 in front, so I get

[orkut-developer] Re: Delete/Edit Activity

2008-10-24 Thread eduardorochabr
you are asking unfortunately.   For more info on activity api methods, see here. http://code.google.com/apis/opensocial/docs/0.5/reference/opensocial -sh On Oct 22, 4:50 pm, eduardorochabr [EMAIL PROTECTED] wrote: Let's take the BuddyPoke, suppose I poke a friend and then, inside

[orkut-developer] Delete/Edit Activity

2008-10-22 Thread eduardorochabr
Let's take the BuddyPoke, suppose I poke a friend and then, inside BuddyPoke, I delete the poke. BuddyPoke correctly deletes the poke from the list. However, the Activity it created remains in my Activity stream, so I have to remove twice, manually. How can the application delete this Activity

[orkut-developer] Re: Having problems with mediaItems in updates

2008-10-22 Thread eduardorochabr
Is there a place I can refer to I avoid implementing something unsupported, *before* actually spend time on it? On 6 out, 20:01, Jason [EMAIL PROTECTED] wrote: Media items are not supported in orkut at this time. - Jason On Oct 3, 11:47 am, Vineet [EMAIL PROTECTED] wrote:         var

[orkut-developer] Re: February launch

2008-02-13 Thread eduardorochabr
Given that 1) Orkut is most popular in Brazil; 2) The deadline is very near; Do I need to submit an application with translation in English? Are there Brazilian members who can validate my submission? Thank you! On 8 fev, 22:21, Jason [EMAIL PROTECTED] wrote: Hi Rogerio! OpenSocial support

[orkut-developer] Re: Instabiliy

2008-02-12 Thread eduardorochabr
when you're applications are live for users, you will see much less downtime. Sorry for any inconvenience, Lane On Feb 12, 6:51 am, roby [EMAIL PROTECTED] wrote: when? On Feb 12, 4:29 pm, RAJA SEKHAR [EMAIL PROTECTED] wrote: yes On Feb 12, 2008 7:50 PM, eduardorochabr [EMAIL

[orkut-developer] Re: Orkut sandbox not showing applications?

2008-02-12 Thread eduardorochabr
Try this link: http://sandbox.orkut.com/MyApps.aspx On 12 fev, 15:17, Cory R. [EMAIL PROTECTED] wrote: Hi- I'm new to this, so please go easy if the question seems rudimentary. I just got access to sandbox.orkut.com, and I *thought* I was supposed to see a button that says either

[orkut-developer] Instabiliy

2008-02-12 Thread eduardorochabr
The platform is really instable. Since Open Social will be publicly launched in Orkut at the end of the month, we really need some robustness now. Thank you. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Orkut