E-Mail:
Get our new Windows 7 eBook (PDF) for $7 with 70+ Tips. Download Now!

Hacking Twitter (Not Really)

Well, not really hacking Twitter… but to the uninitiated you will look like a hard core hacker when you do this simple trick. What you need is an application called cURL, which you can get here. It works on just about every operating system from DOS to Windows to Linux to Mac OS X. It’s a command line tool that lets you transfer files using URL syntax. What that means? I don’t know.

Once you’ve installed cURL, you can open up a terminal and input this line of text (I’m using a Mac for this but the command is the same for Linux as well):

curl -u username:password -d status=”Status goes here” http://twitter.com/statuses/update.xml

You should see some text pop up once you’ve input the command; after that simply go check Twitter to make sure that your status update posted. I don’t believe this program is pre-installed on Windows; Linux distributions may or may not have it, but I do know that OS X 10.6 seems to have had it preinstalled.
So there you go - posting Twitter updates from a command line interface. Does that make you an elite hacker? Of course not, but it is impressive to people who never use a command line for anything.

On a side note, if it gives you an error and only displays the first word of your update with a quotation mark, you may need to change the quotation mark from smart quotes to straight quotes.

2 Comments

Wow, a page that has actual links that I can download. Not that their downloading anytime soon it seems.

Actually, I think I hit that page earlier this month, and lots of those links didn’t even exist (weren’t clickable) back then, but they still got listed. I HAVE curl, but that version doesn’t support SSL. I tried to get a PHP library working for Delicious, and it wouldn’t work. Because I don’t have the right curl (which I though came in the package I downloaded to start with…).

And Firefox is stalling trying to download them. wget (while being slow) is at least grabbing what I want.

Maybe I can get that PHP program written that I want. :/

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Margaret

http://businesseshome.net

What Do You Think?

 

Posted Recently

35 queries / 0.145 seconds.