You are not logged in.
[sorry if this is the wrong place, feel free to move it and yell at me]
I can't seem to find any real command line Twitter applications, and wondered if anyone could recommend one? To read as well as write to Twitter, that is. I realise how easy it is to tweet from the prompt.
I'm currently running Twitter through bitlbee inside of irssi, but I'd rather have it separate, and hopefully support for things like retweeting.
If noone knows of much, I may have a new project on my hands!
Offline
Moving to newbie corner where you are likely to find more hits/answers.
And...yells at tsv (just for the heck of it)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
AUR lists bashtc, bti, ttytter and twidge. I've been meaning to look into this, so I'll check these out and give you my report. Maybe we can swap notes.
EDIT: Well, my experiment didn't take long. bashtc and twidge both failed to install through yaourt for one reason or another. bti seems to only allow you to send tweets. So ttytter looks like the most promising of the bunch. It does allow to read new tweets, retweet, reply, send DMs, etc.
Last edited by frabjous (2010-08-27 16:14:09)
Offline
It's not command-line per se (you can't type in "tweet HELLO MICROBLOG COMMUNITY" or whatever) but bitlbee has support for twitter these days
Offline
@frabjous: Thanks, not entirely sure how my searching failed to find most of those so massively. Will give ttytter a shot!
@alexandrite: Thanks, but as I said that's what I'm using right now and am not very satisfied with.
Offline
ttytter, definitely.
arst
Offline
More here: https://bbs.archlinux.org/viewtopic.php?id=74760
And defintitely TTYtter...
Offline
1) cd ~/
2) nano tweet.sh or vi tweet.sh
3) Paste the following code into tweet.sh, remember to change {USERNAME} to your twitter username (ie: {JUSTINSHATTUCK} )
#!/bin/bash
if [ ! $# == 1 ]; then
echo "Need a tweet!"
exit
fi
read -s -p "Twitter passwd: " TWITTERPASSWD
curl -s -u {USERNAME}:$TWITTERPASSWD -d status="$1" https://twitter.com/statuses/update.xml > /dev/null 2>&1
echo ''
4) Ctrl^x (save and exit)
5) chmod +x tweet.sh
6) nano ~/.bash_rc
7) Add the following line:
alias tweet = "~/tweet.sh"
8) Ctrl^x (save and exit)
9) ln -s ~//tweet.sh /usr/bin/tweet
DONE!
Now you can type tweet "yo this works now -- thanks @justinshattuck" at console and push enter, type in password and poof. Tweeted!
Offline
I think that the fact that Twitter no longer supports basic auth has broken a lot of these clients. When bashtc stopped working, I wrote my own very basic python twitter client using OAuth. It only really worked for me since a lot of the OAuth stuff was hard-coded. I've now generalized it to support the OAuth process and have released the source:
http://gitorious.org/pytc/pytc
I'm not a programmer so I'm afraid it's quite sloppy. Unfortunately it also has some awkward dependencies, including one that you need to patch. But hopefully it will be of use to someone, and if you improve my code it would be great to get some patches (I know I've got a lot to learn).
You can also follow the twitter account for the project here:
http://twitter.com/pythontc
EDIT: Here's a screenshot of what it looks like with the public timeline.
Last edited by lydgate (2010-10-10 23:40:43)
Offline
To get around the OAuth problem, you can check out http://www.supertweet.net/
Offline
May I suggest PTT (Python Twitter Tools)? This is a good CLI Twitter client (and it supports OAuth).
Offline
I had a BASH client, twitbash, that allowed you to use OAuth with a registered Twitter API consumer and consumer secret key and stuff. There are only a couple of commands available: statuses_update (allows to specify id of tweet to tweet in reply to), account_update_profile_pic, twitpic_upload, and twitpic_upload_post.
Here it is in the AUR: http://aur.archlinux.org/packages.php?ID=40616
- [ My Blog ] | [ AUR Packages ] | [ My deviantART ] | [ screenFetch ] | [ SilverIRC ] -
Offline