Giter Site home page Giter Site logo

intro-to-ruby-with-twitter-api's Introduction

DBC Intro to Ruby with the Twitter API

For use during "Intro to Ruby at Dev Bootcamp, San Francisco" class

Purpose

A Small Web Application Ruby Skeleton:

  1. Provides a foundation for building a website that interacts with the Twitter API. LATEST Also includes a number of implementations of Giphy and YouTube API as well.
  2. Provides a basic model/view/controller (MVC) project to allow students to understand basic web design.

Quickstart

  1. Follow steps at the bottom of this README to create a Twitter Consumer Key/Secret
  2. Clone repository: cd ~/Documents; git clone https://github.com/pongo-pygmaeus/intro-to-ruby-with-twitter-api
  3. Use your terminal to access the newly created directory: cd ~/Documents/intro-to-ruby-with-twitter-api
  4. Type bundle install
  5. Make a new file called .env: touch .env
  6. Open .env in a text editor and add the following keys (DBC recommends either Sublime Text Editor or Atom)
TWITTER_CONSUMER_KEY=[Your Twitter API Consumer Key from Twitter Developer Console]
TWITTER_CONSUMER_SECRET=[Your Twitter API Consumer Secret from Twitter Developer Console]

Type bundle exec shotgun

Twitter Developer Signup Steps

  1. Visit https://dev.twitter.com/resources/signup
  2. After signing up, visit https://apps.twitter.com
  3. Click on your email address
  4. Click on the tab titled Keys and Access Tokens
  5. Observe the section of the page called Application Settings
  6. Take note of the fields called Consumer Key (API Key) and Consumer Secret (API Secret). Use this information in step 5 of the Quickstart steps.

intro-to-ruby-with-twitter-api's People

Contributors

pongo-pygmaeus avatar zencephalon avatar sgharms avatar andrelton avatar cdimartino avatar linkblaine avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.