Re: logout in curl

fsb <[email protected]>
Newsgroups gmane.comp.web.curl.php
Message-ID <C77C6CAD.15715%[email protected]>
On 1/20/10 7:45 AM, "Alex" <[email protected]> wrote:

> Not enough information. How you use curl in twitter?

i think he's using curl to access the twitter api. since it's http-based
rest, curl can be used, e.g.

curl -u user:pass -d "status=mesg" http://twitter.com/statuses/update.xml

see http://apiwiki.twitter.com/Twitter-API-Documentation


ramakrishnan: your question is not curl-specific.

but i think there is no need to log off. neither user/pass authentication
not oauth involve logon/logoff sessions.

be aware that user/pass authentication will be deprecated soon so you might
want to start looking at oauth, if you haven't already. php users may find
this handy: http://github.com/abraham/twitteroauth


> 2010/1/20 ramakrishnan k.t <[email protected]>
> 
>> 
>> Hi,
>> 
>> I am using curl for php twitter application.
>> Then how to logout for twitter from that application using curl?
>> --
>> Regards
>> Ramakrishnan t
>> 
>> 
>> _______________________________________________
>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>> 
>> 
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php


_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.