[orkut-developer] Re: AppReviewer now checking live apps -- you may receive e-mails!

2011-03-03 Thread anatoly
The main issue here I think that it is mostly false positive due to
some reviewer related intermittent latency issues.
Many apps I got emails about are loading instantly.



On Mar 3, 1:35 pm, as souzajo...@aol.com wrote:
 I think that Load Time it shoudn't be a issue for Orkut.
 Let users decide if the app it´s taking too much time to load.

 There are several flash games today on Orkut that take more time to
 load, because the files are huge.
 What's considered a lot time to load?

 Let users take action choosing the apps they want to have.

 Cheers

 On 2 mar, 13:27, Giovani gbpe...@gmail.com wrote:



  Same here, Bruno.

  I received a warning email about my application, which has been
  active  for more than 2 years, and I never get at least users
  concerning about load time. I´ve tested it here now, and the time to
  load the application was about 10 seconds. Is this considered a lot
  for you? What´s the time limit for loading the application?

  Other message I´ve received was
  - Found malicious content in description or urls accessed by this app.

  Since my application is about the Holy Bible, I really dont believe
  there is malicious content there. Could you please detail what
  malicious content was found, so I can remove it?

  The appid is 83913050748.

  On 2 mar, 11:33, anatoly anato...@gmail.com wrote:

   same here, once again I get these automated messages
   these are obviously problem with app reviewer

   please check

   On Mar 2, 3:39 pm, as souzajo...@aol.com wrote:

I do have the same issue about loading time.
I´ve received several messages about it.
I did test it, and for me they are just fine.

On 24 fev, 12:50, anatoly anato...@gmail.com wrote:

 strange, it's hosted on AWS, never had had any issues with that...

 On Feb 24, 5:31 pm, Bruno Oliveira (\btco\) bru...@google.com
 wrote:

  I tried again and it loaded instantly this time.

  Perhaps it was a temporary issue with the network here or somewhere 
  in
  between our office and the place where you are hosting one of your
  resources.

  Please let us know if you receive the e-mail again...- Hide quoted 
  text -

- Show quoted text -- Hide quoted text -

 - Show quoted text -

-- 
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 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



Re: [orkut-developer] Lista de amigos: data.get('viewerFriends').getData() devuelve null

2011-03-03 Thread Robson Dantas
Hola Pablo!

¿Puede probar este código?

function loadFriends()
{
// create a request
var req = opensocial.newDataRequest();

var viewerFriends = opensocial.newIdSpec({ userId : VIEWER,
groupId : FRIENDS });
var opt_params = {};
opt_params[opensocial.DataRequest.PeopleRequestFields.MAX] = 100;
req.add(req.newFetchPeopleRequest(viewerFriends, opt_params), 'info');

req.send(onLoadFriends);
}


function onLoadFriends(ret)
{
var data = ret.get('info');
var html = new Array();

html.push('ul');

if (!data.hadError())
{
var viewerFriends = data.getData();

viewerFriends.each(function(person){
html.push('li' + person.getId() + '---' +
person.getDisplayName() + '/li');
});
}

html.push('/ul');

}

Saludos,

Robson Dantas
@robsondantas

2011/3/2 Pablo Mendez mendezdomene...@gmail.com

 Buenas tardes: estoy implementando las funciones de obtención de la lista
 de amigos, que son casi exactamente iguales a las que pueden encontrarse en
 http://code.google.com/intl/es/apis/igoogle/docs/tutorial.html, a saber:
 function amigos() {
 if (opensocial.hasPermission(opensocial.Permission.VIEWER)) {
 var req = opensocial.newDataRequest();

 req.add(req.newFetchPersonRequest(opensocial.IdSpec.PersonId.VIEWER),
 'viewer');
 var viewerFriends = opensocial.newIdSpec({ userId : VIEWER,
 groupId : FRIENDS });
 var opt_params = {};
 opt_params[opensocial.DataRequest.PeopleRequestFields.MAX] = 100;
 req.add(req.newFetchPeopleRequest(viewerFriends, opt_params),
 'viewerFriends');
 req.send(amigosProcesar);
 }
 else {
 return false;
 }
 }

 function amigosProcesar(data) {
 var destino = document.getElementById(api_amigos);
 var viewer = data.get('viewer').getData();
 var viewerFriends = data.get('viewerFriends').getData();

 html = new Array();
 html.push('ul');
 viewerFriends.each(function(person) {
 if (person.getId()) {
 html.push('li' + person.getDisplayName() + /li);
 }
 });
 html.push('/ul');
 destino.value = html.join();
 }

 En la función amigosProcesar, la llamada a
 data.get('viewerFriends').getData(), devuelve siempre null, ¿hay algún
 error? ¿Es un bug? He aquí, estoy trabajando en Sandbox, tengo 3 amigos y
 dos de ellos ya adhirieron la aplicación a su perfil. ¿Cómo se soluciona
 esto?
 Desde ya, muchas gracias.
 Saludos.

 Pablo Mendez

 --
 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
 opensocial-orkut+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/opensocial-orkut?hl=en.


-- 
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 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



Re: [orkut-developer] Re: ¿Cómo se activa el 2-legged OAuth? ¿Dónde está la documentación?

2011-03-03 Thread Pablo Mendez
 No, this is not what I need. I already have a consumer_key and 
consumer_secret. In fact, I used them in the OAuth Playground and work, but 
with 
3-legged OAuth. I need to use *2-legged OAuth* and I want to activate this 
functionality, where do I activate it?. I know that it is not by entering 
https://www.google.com/gadgets/directory/verify, since consumer_secret and 
consumer_key that I get on that form, are not recognized as such by the 
OAuth Playground. The consumer_key and consumer_secret that I got at https:/
/www.google.com/accounts/ManageDomains, already work, but with 3-legged 
OAuth.
I repeat: I need to use *2-legged OAuth* and how activate it. Is it in 
Google Apps? In another panel?. Then, if this is solved, where do I find clear 
and updated documentation on the request that I used to meet the steps of 2-
legged OAuth?
Ultimately, if this is not viable, is it valid to use 3-legged OAuth within 
an IFRAME on Orkut?
Thank you very much.
Greetings.

Pablo Mendez

-- 
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 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



Re: [orkut-developer] Lista de amigos: data.get('viewerFriends').getData() devuelve null

2011-03-03 Thread Robson Dantas
Really dont know what you are doing. But this is a piece of working code got
from my sample:

http://www.opensocial-br.org/exemplo/opensocialbr.xml

http://www.opensocial-br.org/exemplo/opensocialbr.xmlTested right now, and
i´m getting my friends listed.

Regarding your comment of using REST and PHP, depending the amount of
requests you get, will need tons of servers and you will lose many good
things container provides you. Caching, for example.

Robson Dantas
@robsondantas

2011/3/3 Pablo Mendez mendezdomene...@gmail.com

 In this code, *data.hadError() === true* and displays an empty friends
 list.
 I will use this functionality with REST and PHP, since its use with
 JavaScript is unstable and development time don't allow further
 investigation of bugs in the API.
 Thank You.
 Regards.

  --
 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
 opensocial-orkut+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/opensocial-orkut?hl=en.


-- 
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 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.



Re: [orkut-developer] Re: ¿Cómo se activa el 2-legged OAuth? ¿Dónde está la documentación?

2011-03-03 Thread Robson Dantas
Did you read my message ? Looks like no.

You got consumer key and secret for 3legged authentication, which is
completely different for 2legged.

To activate it, you need a gadget running inside Orkut - it is mandatory.
And to make social calls, you will need to get user´s id too.

Develop a gadget - can be a test or whatever, goto
https://www.google.com/gadgets/directory/verify , type the url and it will
give consumer key and secret for 2legged. Consumer key is a number, secret a
small hash.

You can copy my testing gadget if you want, and just change the key:
http://www.opensocial-br.org/exemplo/opensocialbr.xml

Unfortunately, there isn´t much documentation about this. Only one I know is
here:
http://code.google.com/p/opensocial-php-client/wiki/HowToConnecting#2-legged_OAuth_on_orkut

http://code.google.com/p/opensocial-php-client/wiki/HowToConnecting#2-legged_OAuth_on_orkutPlease
also note that I DO NOT work for Google. Just trying to help people here.

Best,

Robson Dantas
@robsondantas


2011/3/3 Pablo Mendez mendezdomene...@gmail.com

  No, this is not what I need. I already have a consumer_key and
 consumer_secret. In fact, I used them in the OAuth Playground and work,
 but with 3-legged OAuth. I need to use *2-legged OAuth* and I want to
 activate this functionality, where do I activate it?. I know that it is not
 by entering https://www.google.com/gadgets/directory/verify, since
 consumer_secret and consumer_key that I get on that form, are not
 recognized as such by the OAuth Playground. The consumer_key and
 consumer_secret that I got at https://www.google.com/accounts/
 ManageDomains, already work, but with 3-legged OAuth.
 I repeat: I need to use *2-legged OAuth* and how activate it. Is it in
 Google Apps? In another panel?. Then, if this is solved, where do I find clear
 and updated documentation on the request that I used to meet the steps of
 2-legged OAuth?
 Ultimately, if this is not viable, is it valid to use 3-legged OAuth
 within an IFRAME on Orkut?
 Thank you very much.
 Greetings.

 Pablo Mendez

 --
 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
 opensocial-orkut+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/opensocial-orkut?hl=en.


-- 
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 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.