Twitter app

From Wildsong
Jump to navigationJump to search

First you need an API key.

  1. Sign up for a Twitter account; I am guessing you already have one. twitter.com
  2. Link the account to a mobile phone.
  3. Sign up at dev.twitter.com
  4. Go to the app page and create an app.

Second write some code to test your new key.

I chose to use the Python module tweepy, because I found a sample project in the most excellent book "30 BeagleBone Black Projects for the Evil Genius." (Christopher Rush)

git clone [email protected]:brian32768/hackpackv3_plus_gps.git
cd hackpackv3_plus_gps
virtualenv venv
source venv/bin/activate
pip install tweepy
emacs tweet.py

...and so on. You can fork the project if you want.