dev-master
9999999-dev http://onema.ioTweet from the command line
MIT
The Requires
by Juan Manuel Torres
demo console cli twitter
Wallogit.com
2017 © Pedro Peláez
Tweet from the command line
Demo cli application to post status updates to twitter., (*1)
The objective of this project is to demonstrate how to use composer, install dependencies, and show a simple directory structure and class that follows the PSR-0 Standard. This is part of the SD PHP Study Gropu code samples., (*2)
Install Composer, (*3)
git clone git@github.com:onema/robo-cli.git cd robo-cli
Run composer install, (*4)
php composer.phar install
Copy the file app/config/parameters.yml.dist to app/config/parameters.yml, (*5)
cp app/config/parameters.yml.dist app/config/parameters.yml
Open the file parameters.yml and update the relevant fields with you Twitter App info.
For more information see the Twitter Developers site., (*6)
Don't forget to set the permissions to read and write and set the callback url!!, (*7)
From the project root, type the following command in the terminal, (*8)
php app/console robocli:tweet --message="Write your status update!! #awesome #app"
Tweet from the command line
MIT
demo console cli twitter