Giter Site home page Giter Site logo

twitter-api-todo-web-0715-public's Introduction

Twitter API Todo

Objective

Get more familiar with using APIs, in this case the Twitter API, in Ruby.

Introduction

Scraping sites is one way to get data but many times, companies will expose more data through their application programming interfaces, or APIs. For this todo, we're going to focus on the Twitter API. You will need to add Twitter API keys in order to make the tests pass.

Instructions

  • This is a test-driven lab so just get those specs to pass! Before you begin, you need to create an application on your Twitter account at Twitter Apps.
  • Once you have created your application, you need to create an application.yml file in your root directory, and then add the Twitter keys to that file. The keys should be named as follows: CONSUMER_KEY, CONSUMER_SECRET, ACCESS_TOKEN, and ACCESS_TOKEN_SECRET. In order to make the access tokens, you need to navigate to the API Keys section of your application page, and then generate new access tokens from there.
  • Additionally, you need to add your username inside of the string on line 7 inside of spec/twitter_spec.rb.
  • If you're unsure how to format your keys in the YAML file, see the following resource.
  • Once you get the API keys working, then you need to make the tests pass by using the Twitter gem commands, refer to the README for the Twitter gem, or refer to the API docs if its unclear what the Twitter gem commands are doing.

Resources

twitter-api-todo-web-0715-public's People

Contributors

benjagross avatar changamanda avatar deniznida avatar ehawk823 avatar fislabstest avatar fs-lms-test-bot avatar irmiller22 avatar jmburges avatar sophiedebenedetto avatar

Watchers

 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.