Pull to refresh

Comments 11

UFO landed and left these words here
Да, можно на Perl/PHP/Python скрипт написать. Из голого cmd так не выйдет :(
Можно попробовать отправить с помощью wget (как предложил посмотреть профиль TermiT), но там сразу возникнут проблемы с кириллицей.
а можно просто алиас в ~/.bashrc сделать:
alias twit='curl -u yourusername:yourpassword -d status="$1"'
Согласен, можно, но я старался сделать сразу более универсальный вариант :)
UFO landed and left these words here

The Easiest Way to Play Around with the Twitter API


If your system has curl (and it should!), you’ve already got a great way to poke around the Twitter API. Here are some examples:

  1. Get the public timeline, unauthenticated: curl http://twitter.com/statuses/public_timel…
  2. Get your friends timeline, authenticated: curl -u email:password http://twitter.com/statuses/friends_time…
  3. Just the headers, please: curl --head -u email:password http://twitter.com/statuses/friends_time…
  4. Post a status update, authenticated: curl -u email:password -d status="your message here" http://twitter.com/statuses/update.xml

    отсюда Official Twitter API documentation
вот это я понимаю микроблоггинг
минималистичнее уже пожалуй некуда :)
Sign up to leave a comment.

Articles