Skip to content

Instantly share code, notes, and snippets.

@umisama
Created February 19, 2015 11:34
Show Gist options
  • Save umisama/f9bf4c3607291151ac3c to your computer and use it in GitHub Desktop.
Save umisama/f9bf4c3607291151ac3c to your computer and use it in GitHub Desktop.
twitter client with peco
$ ID=$(twurl "/1.1/statuses/home_timeline.json?count=200" | jq ".[]|{user:.user.name, text ,id_str}" --compact-output | peco | jq ".id_str") && echo "-X POST /1.1/favorites/create.json?id=$ID" | xargs twurl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment