cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Fwd: Log in using cURL

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 4 Mar 2011 12:06:58 -0800

On Sat, Mar 05, 2011 at 12:35:22AM +0530, Swapnil Ashtekar wrote:
>         I am trying to access the twitter,gmail,facebook etc through terminal.
>         I am using cURL for the same. But the things for facebook are not
> working.

There's lots that can go wrong with this sort of thing. Some sites actively
block automated tools like curl from accessing their sites, which can make
life difficult. Start by reading http://curl.haxx.se/docs/httpscripting.html
At minimum, you'll likely need the -b, -c and -L options, and eventually
-d. I understand that using the Twitter API now requires OAuth, which curl
doesn't natively support.

>>> Dan
-------------------------------------------------------------------
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 2011-03-04