list_friends.php throws captcha always

12 views
Skip to first unread message

Mallikarjun

unread,
Mar 2, 2011, 11:37:52 AM3/2/11
to Orkut php client
Hi,

I downloaded the latest version of php client. I configured
globals.php with consumer key and secret.and tried to access test.I am
able to login to orkut successfully.But when I tried to access friends
list,google throws captcha.
But google doesnot throw captcha when I try with the local server.This
problem happens when I try to access from our dedicated server in US.
How to get friends list without getting captcha.How to handle captcha
in the script?

you can try here

http://www.mobuute.in/orkut/orkut-os-php-v1.0/orkut-os-php/test/

Regards
Mallik

Robson Dantas

unread,
Mar 2, 2011, 12:03:51 PM3/2/11
to orkut-ph...@googlegroups.com
This is odd. First time saw list friends issuing captcha.

Which hosting server are you using ? I´ve got complaints from people using hostgator, but was related to networking blocking - in other words, when you abuse calling orkut or google services, it issues captcha even when browsing an orkut page or doing login, or whatever.

Can you please issue a print_r($ret); inside execute function in orkut-3legged.php and get the complete return using firebug ?

Best

Robson Dantas
@robsondantas

2011/3/2 Mallikarjun <malliksa...@gmail.com>

Robson Dantas

unread,
Mar 3, 2011, 1:15:25 PM3/3/11
to orkut-ph...@googlegroups.com
Hi!

This is not a captcha issue. This is a problem on curl when setting CURLOPT_CUSTOMREQUEST.

Please, open orkut-3legged.php and comment that line (27 I think) and try again.

Line starts with curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);

Let me know how it goes.

Best

Robson

2011/3/3 S Mallikarjun <malliksa...@gmail.com>
Hi Robson Dantas,

Thanks for the response.check attached list_friends.txt captured using firebug.

when I send list_friends request to orkut.orkut tries to redirect to a captcha.

Regards
Mallikarjun

S Mallikarjun

unread,
Mar 2, 2011, 11:40:14 PM3/2/11
to orkut-ph...@googlegroups.com
Hi Robson Dantas,

Thanks for the response.check attached list_friends.txt captured using firebug.

when I send list_friends request to orkut.orkut tries to redirect to a captcha.

Regards
Mallikarjun



On Wed, Mar 2, 2011 at 10:33 PM, Robson Dantas <biu.d...@gmail.com> wrote:
list_friends.txt

S Mallikarjun

unread,
Mar 3, 2011, 1:53:36 PM3/3/11
to orkut-ph...@googlegroups.com
Hi I commented.Still I see captch page

Regards
Mallikarjun
Reply all
Reply to author
Forward
0 new messages