Skip to content

Instantly share code, notes, and snippets.

@droberts-sea
droberts-sea / Twitter-gem.md
Last active July 13, 2019 03:52 — forked from mbd-s/Twitter-gem.md
Building a simple Twitter bot with the Twitter Ruby gem

Twitter gem overview

Adapted (formatting changes) from https://gist.github.com/mbd-s/2352b1454790852a6946dcb3842ec3d5

The Twitter Ruby gem is a Ruby interface to the Twitter API. It allows you to make all available Twitter API requests (e.g., tweet, follow a user, search, etc.) within a Rails app.

This guide was adapted from multiple sources, including the Twitter Ruby gem configuration page and How to Make a Twitter Bot in Ruby on Rails. Twitter's own API docs are a good resource too, of course.


Get set up with Twitter