Step 4: Twitter

* Create a Twitter account twitter.com  
* Register an application with Twitter https://dev.twitter.com/apps/new  

Create a Twitter account

You've probably already got one (or twelve) but for the absolute noob, take heart. It's easy.
Goto twitter.com and set up an account. Make it a public account, that way if you ever want your friends to look at it they don't have to go through a whole bunch of hooey to get there. And don't post personal stuff like "Out of town, leaving diamonds on back porch."

You'll see people using the "@" and "#" symbols a lot. Put @ before a username and # before a concept. For example, if you post the following tweet "I enjoyed the @msg_box simpleTweet_00 on @instructables #goodtimes" then that tweet will get sent to my feed (and to instructables's feed too) and it'll get added to a cache of all posts that have ever used the phrase "#goodtimes." There's more, but it's not within the scope of this lesson. Play with it. You'll figure it out.

Register an application with Twitter

What does that even mean? Relax. Think of it this way: you're creating a set of special high-tech usernames and passwords so the stuff you make can access Twitter. It's like Twitter is this big castle with a front door for all the human guests and a back door for all the automated service personnel. These high-tech usernames and passwords are called OAuth. OAuth lets your device access Twitter through the service entrance.

Having already created my Twitter account @msg_box I then went here https://dev.twitter.com/apps/new to get my OAuth password info. Review the three attached images of the forms .

First Page: Make sure you check "Client " and not "Browser", and that you allow "Read & Write ."
Second Page: Here's where you find your CONSUMER KEY and your CONSUMER SECRET
Third Page: Here's where you find your ACCESS TOKEN and your ACCESS TOKEN SECRET

You will need this information when your program logs into Twitter (via the service entrance.) In the Python script simpleTweet_01_python you will enter this information in here:
api = twitter.Api(consumer_key='YOUR_CONSUMER_KEY',

That's it. Not hard at all. 
<p>I love the combination of Python and the Arduino. So I have created a collection about it. I have added your instructable, you can see the collection at: &gt;&gt; <a href="https://www.instructables.com/id/Arduino-and-Python-and-perhaps-a-Rasberry-Pi/"> https://www.instructables.com/id/Arduino-and-Pytho...</a></p>
<p>Extraordinary Work.</p>
<p>excellent work.</p>
<p>Fabulous work.</p>
<p>Superb work</p>
<p>good one.</p>
<p>great spot</p>
<p>great work</p>
<p>good one.</p>
<p>cool work.</p>
<p>Superb one.</p>
<p>really nice</p>
<p>superb work.</p>
<p>Extra ordinary Work.</p>
<p>good one.</p>
<p>nice work.</p>
<p>good work.</p>
<p>Great one. <br></p>
<p>very nice work.</p>
<p>i am your big fan</p>
<p>nice work</p>
<p>nice chip set.</p>
<p>nice python. i like it.</p>
<p>Nice working.</p>
<p>nice work.</p>
<p>good one.</p>
<p>Very nice.</p>
<p>superb work like this.</p>
<p>nice one.</p>
<p>beautiful work.</p>
<p>great work..</p>
<p>great spot</p>
<p>Nice Work Great Job sir.</p>
<p>This is awesome</p>
<p>nice one..</p>
<p>Awesome work..</p>
<p>i love with your job</p>
<p>Awesome like this..</p>
<p>good one..</p>
<p>i am your big fan </p>
<p>such a use full pic </p>
<p>simple but very usefulll .. thankyou so much for sharing</p>
<p>Hmm twitter needs you</p>
<p>great for newbies</p>
<p>great stuff</p>
<p>useful information !!!!!!!!!</p>

About This Instructable




More by pdxnat:Twitter Mention Mood Light simpleTweet_01 python How to install Python packages on Windows 7 
Add instructable to: