Skip to content

Instantly share code, notes, and snippets.

@bongardino
Last active November 3, 2018 00:05
Show Gist options
  • Save bongardino/e730a6bbb545ed852511605c6f16409a to your computer and use it in GitHub Desktop.
Save bongardino/e730a6bbb545ed852511605c6f16409a to your computer and use it in GitHub Desktop.
resolve $t_ // uninitialized constant Twitter::REST::Client::BASE_URL
Go to https://apps.twitter.com/
Ensure your app (whether newly created or otherwise) has Read, Write and Access direct messages permissions
Locally run gem install twurl
Run twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}
Follow the steps it requests that you do
Copy ~/.twurlr to ~/.trc
Essentially copy the file generated by twurl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment