Connect internet over Mobile and send tweets with image and text. You can use following transactions for work.

  1. Firstly, Check https://sixfab.com/quickstart/
  2. Connect your Raspberry Pi to internet and run sudo apt-get update to update your Raspberry Pi
  3. Make internet connection
    1. For Gprs Shield
      • Make Tutorial 2 to connect internet over Mobile.
    2. For 3G/LTE Shield
      • Make Tutorial 3 to connect internet over Mobile.
  4. Register a Twitter App with this tutorial to get Consumer Key etc.
  5. Install Python and required libraries with following commands
    • sudo apt-get install python-setuptools
    • sudo easy_install pip
    • sudo pip install twython
  6. Download source code
    • wget https://raw.githubusercontent.com/sixfab/rpiShields/master/tutorials/tutorial5/Tiwitting.py
  7. Make it executable
    • sudo chmod +x Tiwitting.py
  8. Let’s send tweet
    • python Tiwitting.py 'Hello Everyone, I am using Sixfab Iot Shield!'


Tutorial Video:

Leave a Reply

Your email address will not be published. Required fields are marked *