cURL / Mailing Lists / curl-users / Single Mail

curl-users

login to youtube account using curl

From: Bhadraji D <bhadraji.d_at_allaboutif.com>
Date: Thu, 12 Nov 2009 12:21:27 +0530

Hi,

I am trying to get Auth token using curl (command line tool),but I am not
able to get the Auth token.Following are the commands I am trying to run
from reference URL given from youtube API team

http://code.google.com/apis/youtube/2.0/developers_guide_protocol_clientlogin.html
,

1)curl --location https://www.google.com/youtube/accounts/ClientLogin --data
'Email=bhadraji05&Passwd=xxxxxx&service=youtube&source=Test' --header
'Content-Type:application/x-www-form-urlencoded'
2)curl -v --cookie cjar --location
https://www.google.com/youtube/accounts/ClientLogin --data-urlencode
'Email=bhadraji05&Passwd=xxxxxxx&service=youtube&source=Test' --header
'Content-Type:application/x-www-form-urlencoded'
* About to connect() to www.google.com port 443 (#0)* Trying
64.233.169.105... Timeout
 * Trying 64.233.169.106... Timeout
* Trying 64.233.169.147... Timeout
* Trying 64.233.169.99... Timeout
* Trying 64.233.169.103... Timeout
 * Trying 64.233.169.104... Timeout
* connect() timed out!
* Closing connection #0
curl: (28) connect() timed out!

I have tried with new Clientlogin URL:
https://www.google.com/accounts/ClientLogin.In this case also I am getting
same error.If I am able to get Authtoken from commandline then I will write
it programmeticlay using libcurl API.

Thanks,
Bhadraji.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-11-12