Twitter project OS X setup: Difference between revisions

no edit summary
imported>Mako
imported>Mako
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1:
==Download the TwitterAPI project==
 
# Right click the following file, click "Save Target as..." or "Save link as...", and save it to your Desktop directory: http://mako.cc/teaching/2014/cdsw-autumn/TwitterAPI.zip
# The ".zip" extension on the above file indicates that it is a compressed Zip archive. We need to "extract" its contents. To do this, clickopen on "Start", then "Computer",Finder and navigate to your Desktop directory. Find TwitterAPI.zip on your Desktop and double-click on it to "unzip" it. That will create a folder called TwitterAPI containing several files.
 
==Enter your API information==
 
* Start your text editor (probably SmultronTextWrangler if you [[OSX text editor|installed it following our instructions]]). Navigate to the directory that contains TwitterAPI (probably something of the form <code>~/Desktop/TwitterAPI</code>).
* Open up the file <code>twitter_authentication.py</code> in your text editor.
* You will see four lines that include four variables in ALL CAPITALS that are being assigned, in the normal ways we learned about last session, to strings. At the moment, all of the strings say CHANGE_ME.
Anonymous user