Midterm upload - but it ain't done

Got held up with working through the Twitter hash that is returned.  I can parse out info in IRB but having a tougher time in the APP.  Still work in progress.
thanks - helpful.  I'll go check that out.  Also learned that the twitter
api returns info as objects, not a hash - so have to finish using their
methods instead of parsing through the hash.

Thanks


On Wed, Jul 16, 2014 at 6:52 PM, Michael Wenger <notifications@github.com>
wrote:

> In _Scott_Howard/midterm/api_tool.rb:
>
> > +# Connects to a 3rd party api where the call varies based on
> > +# what the user gives you.
> > +# Must be object oriented. You must instantiate modeled classes.
> > +# The only file that can run without classes is your runner.
> > +# Push code on Github.
> > +
> > +require 'json'
> > +require 'rest-client'
> > +require 'twitter'
> > +require_relative 'lib/tweet'
> > +require_relative 'lib/question'
> > +
> > +# Application-only Authentication:
> > +# from: https://github.com/sferik/twitter/blob/master/examples/Configuration.md
> > +config = {
> > +  :consumer_key    => "3AGoAUh5KfXnnUrenbk40SPEo",
>
> Not a big deal for this project... but in the future you're going to want
> to be on the lookout for avoiding putting api keys in your source code,
> especially when its open source on the internet. There are ways to do this
> using environment variables and you can find a good post on stack overflow
> that will walk you through how to set that up.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ga-students/bewd_11_nyc_homework/pull/40/files#r15032989>
> .
>



-- 
*Scott Taylor Howard*
ScottTaylorHoward@gmail.com <scotttaylorhoward@gmail.com> | 804.387.9208

*Connect with Georgetown MBA Alumni:*
<https://www.facebook.com/MSBAlum>   <https://twitter.com/#%21/msbalum>
<http://www.linkedin.com/groups?gid=167497&trk=hb_side_g>