[orkut-developer] Captcha and scraps

2012-04-09 Thread Кирилл Совкуцан
Good day, everyone.
When i try post scrap without any url, it posts well.
But when i try to post any url, i have an error

{error:{message:unauthorized:  Please  enter  the  text  as  it  is  
shown  in  the  
box.,data:{errorType:requiresCaptcha,captchaUrl:/social/pages/captcha?xid=1333951789263,captchaToken:token1333951789263},code:401}}

I read at this group, that i need to request captcha using Oauth
When i try, i have  404 error

This is my code
$params = array(
  'oauth_nonce' = md5(time()) ,
  'oauth_version1.0' ,
  'oauth_timestamp' = time() ,
  'oauth_consumer_key' = CONSUMER_KEY',
  'oauth_token' ='TOKEN',
  'oauth_signature_method' = 'HMAC-SHA1'
);
  $signature = $this-build_orkut_signature($params, 
'CONSUMER_SECRET', false), 2);
  $params['oauth_signature'] = $signature;

  $client = 
$token-getHttpClient($this-getProviderConfig('orkut'));
  
$client-setUri('http://www.orkut.com'.$content-error-data-captchaUrl);
  $client-setMethod(Zend_Http_Client::GET);
  $client-setParameterGet($params);
  $client-setHeaders('Content-type', 'application/json');
  $response = $client-request();

Can anybody help me?
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/opensocial-orkut/-/cOJ9sOxMuhYJ.
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.



[orkut-developer] opensocial website-orkut

2012-04-09 Thread praveenkumar

Am going to create a webpage where user can sign in using orkut idwhen
he/she signed in my webpage will retrieve the person`s profile
information(name, address, location, friends)from orkut and display it
am new to opensocial don't know how to approach..what should i do now

 

References

https://developers.google.com/orkut/articles/tutorial/tutorial

 

-- 
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.



[orkut-developer] How to get total no of scrap and friends of user

2012-04-09 Thread mohan
Hi
I am trying to get total count of orkut friends and scraps.

But i dint get any code to get the count of friends and scrap of user
loged in my website.

Please help,if any one knows how to get friends and scrap count of user

-- 
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.



[orkut-developer] apps no orkut não estão sendo aprovadas

2012-04-09 Thread tv grin

faz duas semanas que coloquei apps no sandbox e enviei , mas não obtenho 
nenhuma resposta.acho que é por estar havendo uma manutenção,pois notei que o 
gadget foi tranferido de pagina e um recado foi postado que a pagina foi 
tranferida , e que eles estão trabalhando duro para renovar tudo
  

-- 
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.



[orkut-developer] Re: Bug with gadgets.views.requestNavigateTo (Leave this page popup)

2012-04-09 Thread anatoly
Hi Bruno
 
 
thanks for reply.
 
It happens in Google Chrome only, but it seems like the most popular 
browser on orkut I think...
 
 
I use it for navigation with parameters, i.e.

var canvas_view = new gadgets.views.View(canvas);

gadgets.views.requestNavigateTo(canvas_view, params);

 

and then on the page I use it, i.e. to get parameter

var navigatedParams = gadgets.views.getParams();

 

everything works though, it's just an alert that bothers users.

 
thanks
 

On Monday, April 9, 2012 7:56:14 PM UTC+3, Bruno Oliveira (Google) wrote:

 Hi,

 Thanks for reporting. We'll check if this is something we accidentally 
 broke... Also, can you give us more details about what you are using 
 requestNavigateTo for? Maybe there is a workaround for now.

 Thanks!

 -
 Bruno Oliveira (Google)

 On Wednesday, March 28, 2012 8:30:51 AM UTC-3, anatoly wrote:

 Hello
  
 any news about the issue?
  
 gadgets.views.requestNavigateTo on Chrome popups a browser alert Leave 
 this page/Stay on this page Are you sure
  
 this happens only on Google Chrome browser and it worked fine several 
 months ago.
  
  
 thanks
  
  
  

 On Monday, November 28, 2011 12:01:48 AM UTC+2, anatoly wrote:

 it worked fine without popup just a week ago...



-- 
You received this message because you are subscribed to the Google Groups 
orkut Developer Forum group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/opensocial-orkut/-/91WIQ0ovbawJ.
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.