Re: [orkut-developer] Orkut Oauth
Yes this is closed. On Wed, Sep 22, 2010 at 9:03 AM, Robson Dantas biu.dan...@gmail.com wrote: I think we closed this discussion on orkut-php-client library, right ? Regards Robson Dantas 2010/9/21 Dennis Monsewicz dennismonsew...@gmail.com Ok I downloaded the orkut os client lib But when I point my browser to http://myurl.com/orkut-os/test and login and I am redirected (after granting permission) to auth.php I am getting a blank page. Shouldn't my information (fullname, email address) be displayed on the page? Thanks! Dennis On Tue, Sep 21, 2010 at 12:04 PM, Robson Dantas biu.dan...@gmail.comwrote: You are using php osapi, not the library i mentioned before. Download it again from: code.google.com/p/orkut-os-client-php http://code.google.com/p/orkut-os-client-phpAlso read the page. There is a sample included, which allows you to grab scraps, send scraps, reading friends. -Robson Dantas 2010/9/21 Dennis Monsewicz dennismonsew...@gmail.com I downloaded the PHP library and have got it somewhat working inside of the CodeIgniter Library Here is my code: class Orkut_api extends osapi { public function __construct($params = array()) { $this-provider = new osapiOrkutProvider(); $this-signer = new osapiOAuth2Legged(orkut.com:consumer_key, consumer_secret); } public function makeConnection() { $osapi = new osapi($this-provider, $this-signer); return $osapi; } } but for some reason I am only getting back the osapi object but I am not sure as to what do with it. I am trying to authenticate a user through my site, but am having the hardest time. Sorry for being ignorant to this, I am just new to working with this set of APIs. Thanks for all of your help thus far! Dennis On Mon, Sep 20, 2010 at 6:23 PM, Robson Dantas biu.dan...@gmail.comwrote: Yes, using OAuth. Java: http://code.google.com/p/orkut-os-client PHP: code.google.com/p/orkut-os-client-php Take a look there. -Robson Dantas 2010/9/20 Dennis Monsewicz dennismonsew...@gmail.com I am writing a application that will allow users to pull in information from their orkut accounts (ie, first and last name and email address) but I am lost as to how to go about doing this. Does Orkut work in the same way Facebook does in allowing users to authenticate through another website? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Dennis Monsewicz Jr. Web Designer/Developer Cell: (256) 339-8716 www.dennismonsewicz.com -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Dennis Monsewicz Jr. Web Designer/Developer Cell: (256) 339-8716 www.dennismonsewicz.com -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com
Re: [orkut-developer] Stuck in Authorization loop
Thanks! I actually got it working, but am getting some odd error, but I think its because I am porting this lib over into a CodeIgniter Lib and therefore its just not working. On Wed, Sep 22, 2010 at 1:23 PM, Robson Dantas biu.dan...@gmail.com wrote: When authenticated, your access token is stored in a session. After signing in, for some reason, if the session is not created, you will get redirected again to Google's authentication website. You need to check if this session is being created, in order to avoid this. Open the test and check how the session is being handled. Another solution is storing it on cookies, like the java library is doing. But again, it depends how your environment is configured. -Robson Dantas 2010/9/22 Dennis dennismonsew...@gmail.com I am trying to port the library over to my CodeIgniter application and when I navigate to the url to access the orkut auth, I am sent over to google to grant my application access to my orkut account, but after accepting it keeps sending me back to step 1 with google to authorize my application to gain access. My CI Library require_once Orkut/globals.php; class Orkut_api { public $orkut_api; public $CI; public function __construct(array $orkut_params) { $this-orkut_api = new Orkut($orkut_params['consumer_key'], $orkut_params['consumer_secret']); $this-CI = get_instance(); } public function auth() { try { if($this-orkut_api-login()) { return WOOT; } } catch(Exception $e) { $this-CI-session-unset_userdata('oauth_token'); GenericError::stop(1, Can't authenticate an Orkut); } } } Any reason why I would be stuck in a loop? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Dennis Monsewicz Jr. Web Designer/Developer Cell: (256) 339-8716 www.dennismonsewicz.com -- 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-or...@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] Authentication Problems
Are there issues with Orkut currently? Because now when I am using the test on my localhost I am getting an authentication error when I try to get my friends list. UGH! This is so frustrating... this was working about an hour ago and now its not! Please Help! -- Dennis Monsewicz Jr. Web Designer/Developer Cell: (256) 339-8716 www.dennismonsewicz.com -- 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-or...@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] Orkut Oauth
Ok I downloaded the orkut os client lib But when I point my browser to http://myurl.com/orkut-os/test and login and I am redirected (after granting permission) to auth.php I am getting a blank page. Shouldn't my information (fullname, email address) be displayed on the page? Thanks! Dennis On Tue, Sep 21, 2010 at 12:04 PM, Robson Dantas biu.dan...@gmail.comwrote: You are using php osapi, not the library i mentioned before. Download it again from: code.google.com/p/orkut-os-client-php http://code.google.com/p/orkut-os-client-phpAlso read the page. There is a sample included, which allows you to grab scraps, send scraps, reading friends. -Robson Dantas 2010/9/21 Dennis Monsewicz dennismonsew...@gmail.com I downloaded the PHP library and have got it somewhat working inside of the CodeIgniter Library Here is my code: class Orkut_api extends osapi { public function __construct($params = array()) { $this-provider = new osapiOrkutProvider(); $this-signer = new osapiOAuth2Legged(orkut.com:consumer_key, consumer_secret); } public function makeConnection() { $osapi = new osapi($this-provider, $this-signer); return $osapi; } } but for some reason I am only getting back the osapi object but I am not sure as to what do with it. I am trying to authenticate a user through my site, but am having the hardest time. Sorry for being ignorant to this, I am just new to working with this set of APIs. Thanks for all of your help thus far! Dennis On Mon, Sep 20, 2010 at 6:23 PM, Robson Dantas biu.dan...@gmail.comwrote: Yes, using OAuth. Java: http://code.google.com/p/orkut-os-client PHP: code.google.com/p/orkut-os-client-php Take a look there. -Robson Dantas 2010/9/20 Dennis Monsewicz dennismonsew...@gmail.com I am writing a application that will allow users to pull in information from their orkut accounts (ie, first and last name and email address) but I am lost as to how to go about doing this. Does Orkut work in the same way Facebook does in allowing users to authenticate through another website? -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Dennis Monsewicz Jr. Web Designer/Developer Cell: (256) 339-8716 www.dennismonsewicz.com -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.comopensocial-orkut%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en. -- Dennis Monsewicz Jr. Web Designer/Developer Cell: (256) 339-8716 www.dennismonsewicz.com -- 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-or...@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] Orkut Oauth
I am writing a application that will allow users to pull in information from their orkut accounts (ie, first and last name and email address) but I am lost as to how to go about doing this. Does Orkut work in the same way Facebook does in allowing users to authenticate through another website? -- 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-or...@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.