[OpenSocial] Re: Authenticating process in Orkut

2009-06-21 Thread Pankaj Sharma
I have downloaded opensocial php-client lib but i want to make my own lib
for Orkut. As, i have already made for Facebook, Picasaweb, Youtube, Hi5,
Twitter etc. The only problem , i am facing with Orkut.

Plsease help!!!

Thanks,
Pankaj Sharma

On Sat, Jun 20, 2009 at 11:51 PM, DON p.agniho...@gmail.com wrote:


 Hi, if you are using php, try using php opensocial client api, there
 are client apis for other languages also, there you can use the built
 in methods to send request and receive responses

 On Jun 19, 10:46 pm, Pankaj Sharma sharmapanka...@gmail.com wrote:
  Hi Friends,
  I am unable to Authenticate with OAuth. I have generated the signature
  but when calling the appropriate orkut url, it is giving me error.
  Find below the url i am calling:
 
  http://www.orkut.com/social/rest/people/MyuserID/@self?oauth_consumer...
 
  I am getting response as:
  OAuth Authentication Failuretimestamp_refused
  Error 401
 
  Pls suggest, if i am doing something wrong to authenticate the
  request.
 
  Thanks,
  Pankaj Sharma
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
OpenSocial Application Development group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~--~~~~--~~--~--~---



[OpenSocial] Re: Authenticating process in Orkut

2009-06-21 Thread Chris Chabot
Hey Pankaj,

It's rather hard to come to a complete conclusion about what's going wrong,
but given the error (invalid oauth_timestamp), it might just be a matter of
your system's clock not living in the same time setting as Orkut's.

The known-to-be-working opensocial php client lib just uses a plain time()
to generate it's oauth_timestamp value, so other then having a in-sync-clock
there shouldn't be any special things you'd have to do.

Also keep in mind that Orkut uses an OAuth spec extension for the body
signing of requests (for when you are doing POST's), which is described
here:
http://blog.opensocial.org/2009/04/important-oauth-signing-changes-coming.html

   -- Chris


On Sun, Jun 21, 2009 at 10:08 AM, Pankaj Sharma sharmapanka...@gmail.comwrote:

 I have downloaded opensocial php-client lib but i want to make my own lib
 for Orkut. As, i have already made for Facebook, Picasaweb, Youtube, Hi5,
 Twitter etc. The only problem , i am facing with Orkut.

 Plsease help!!!

 Thanks,
 Pankaj Sharma

 On Sat, Jun 20, 2009 at 11:51 PM, DON p.agniho...@gmail.com wrote:


 Hi, if you are using php, try using php opensocial client api, there
 are client apis for other languages also, there you can use the built
 in methods to send request and receive responses

 On Jun 19, 10:46 pm, Pankaj Sharma sharmapanka...@gmail.com wrote:
  Hi Friends,
  I am unable to Authenticate with OAuth. I have generated the signature
  but when calling the appropriate orkut url, it is giving me error.
  Find below the url i am calling:
 
  http://www.orkut.com/social/rest/people/MyuserID/@self?oauth_consumer.
 ..
 
  I am getting response as:
  OAuth Authentication Failuretimestamp_refused
  Error 401
 
  Pls suggest, if i am doing something wrong to authenticate the
  request.
 
  Thanks,
  Pankaj Sharma



 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
OpenSocial Application Development group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~--~~~~--~~--~--~---



[OpenSocial] Re: Authenticating process in Orkut

2009-06-20 Thread DON

Hi, if you are using php, try using php opensocial client api, there
are client apis for other languages also, there you can use the built
in methods to send request and receive responses

On Jun 19, 10:46 pm, Pankaj Sharma sharmapanka...@gmail.com wrote:
 Hi Friends,
 I am unable to Authenticate with OAuth. I have generated the signature
 but when calling the appropriate orkut url, it is giving me error.
 Find below the url i am calling:

 http://www.orkut.com/social/rest/people/MyuserID/@self?oauth_consumer...

 I am getting response as:
 OAuth Authentication Failuretimestamp_refused
 Error 401

 Pls suggest, if i am doing something wrong to authenticate the
 request.

 Thanks,
 Pankaj Sharma
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
OpenSocial Application Development group.
To post to this group, send email to opensocial-api@googlegroups.com
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en
-~--~~~~--~~--~--~---