This repo contains a simple web app for account linking a twitter user with an alexa skill. live at: https://alexa-twitter-airport-info.herokuapp.com/
- Upload the skill code contained in the
skill
directory to a new AWS Lambda instance. For instructions on how to set up a Lambda instance, refer to : https://www.bignerdranch.com/blog/developing-alexa-skills-locally-with-nodejs-deploying-your-skill-to-staging/ - Set up a new skill instance for the skill at https://developer.amazon.com/edw/home.html#/skills/list called 'Tweeter'. Refer to the Readme in the
/skill
directory for details. - On the
configuration
page, select "Yes" for Account Linking. - Enter https://localhost:3000/oauth/request_token for Authorization URL.
- Take note of the
vendorId
value under "Redirect URL". Copy this value, and update the VENDOR_ID attribute in the .env.example file
- Register a new application with Twitter. You will need to register a twitter developer account to do this.
- Copy the consumer key and consumer secret values, and update the respective values in .env.example.
- Copy .env.example to .env
- The example uses
ruby 2.3.0
andbundler
. Installruby 2.3.0
and ensurebundler
is installed. If it is not, rungem install bundler
. - Within the server directory, run
bundle
- within the server directory, run
thin start --ssl -p 3000