Repository is archived
No commit activity in last 3 years
No release in over 3 years
Embed a Twitter widget into your LMS with this LTI App.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 1.1.4
~> 4.0.0
~> 5.0.0.rc.1
 Project Readme

Twitter LTI Tool

Build Status Code Climate Gem Version

Embed a Twitter widget into your LMS with this LTI App.

Usage

This gem is a mountable Rails engine. To use this you will need to include the gem into a Rails application then mount the engine in the routes file. Example:

# Gemfile
gem "lti_twitter_engine"

# routes.rb
mount InstLtiTwitter::Engine, at: "/twitter_lti"

You will also need to create a new file in your config folder called inst_lti_twitter_config.yml. This will contain the credentials for using the Twitter API.

default: &default
  inst_lti_twitter_consumer_key:        INST_LTI_TWITTER_CONSUMER_KEY
  inst_lti_twitter_consumer_secret:     INST_LTI_TWITTER_CONSUMER_SECRET
  inst_lti_twitter_access_token:        INST_LTI_TWITTER_ACCESS_TOKEN
  inst_lti_twitter_access_token_secret: INST_LTI_TWITTER_ACCESS_TOKEN_SECRET

development:
  <<: *default

test:
  <<: *default

production:
  <<: *default

Once this is done, you should be able to go to /twitter_lti on your app and the LTI app will appear.