2017 © Pedro Peláez
 

project twhelp

Twitter OAuth CLI Helper supported by TwistOAuth.

image

mpyw/twhelp

Twitter OAuth CLI Helper supported by TwistOAuth.

  • Saturday, November 14, 2015
  • by mpyw
  • Repository
  • 1 Watchers
  • 0 Stars
  • 34 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

twhelp

Twitter OAuth CLI Helper distributed by Golang cross-compilation., (*1)

Requirements

Nothing.
Feel free to download from releases., (*2)

...Oops, x64(amd64) CPU architecture required at least., (*3)

Usage

mpyw@localhost:~$ ./twhelp -h
Options:
  -h, --help          Show help.

[ Output Format ]

  Default             Output line by line.
  -i, --ini           Output as INI.
  -y, --yaml          Output as YAML.
  -j, --json          Output as JSON.
  -a, --array         Output as array compatible with most languages.
  -A, --assoc         Output as PHP-style associative array.
  -e, --env           Output as environmental uppercase variables.

[ OAuth Process ]

  Default             xAuth manipulation with OAuth scraping.
  -x, --xauth         Pure xAuth. Only available with official keys.
  -o, --oauth         Pure OAuth. You have to authorize via web browser.

[ OAuth Credentials ]

  Insufficient components will be required to input via STDIN.
  Password is masked.

  --ck  <value>       Specify consumer_key in advance.
  --cs  <value>       Specify consumer_secret in advance.
  --sn  <value>       Specify screen_name or email in advance.
  --pw  <value>       Specify password in advance. (Not masked, DEPRECATED)
  --app <value>       Speficy consumer_key and consumer_secret with app name.

                      app name | full name
                      ------------------------------------
                      android  | Twitter for Andriod
                      win      | Twitter for Windows
                      wp       | Twitter for Windows Phone
                      google   | Twitter for Google TV
                      iphone   | Twitter for iPhone
                      ipad     | Twitter for iPad
                      mac      | Twitter for Mac
                      deck     | TweetDeck

Your own applications can also be defined in /Users/mpyw/.twhelp.ini
Example:

[my_app_01]
consumer_key    = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
consumer_secret = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

mpyw@localhost:~$

The Versions

14/11 2015

dev-master

9999999-dev

Twitter OAuth CLI Helper supported by TwistOAuth.

  Sources   Download

MIT

The Requires

  • php >=5.3.0
  • lib-openssl *
  • lib-curl *