nodejs middleware to link alexa custom skill with twitter oauth using amazon alexa account linking service
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Procfile
README.md
index.js
package.json

README.md

alexa-skill-linked-account-twitter-middleware

nodejs middleware to link alexa custom skill with twitter oauth using amazon alexa account linking service

pre-info: it's not possible to integrate twitter api with amazon alexa skill account linking service directly. the solution is adapting twitter & alexa API's by developing a middleware which integrates alexa skill user with twitter api. it moves requests access tokens, passes amazon's required parameters.

this is a simple nodejs + express middleware is configured to work on heroku.

  • holds amazon's required parameters on session,
  • performs standard oauth requests to obtain key & secret
  • no database. returns token and secret in "TOKEN,SECRET" format to amazon alexa.

notes:

  • do not forget to define env variables on heroku dashboard

alexa skill functions compatible with this middleware:

Visit wiki and learn more about Alexa Skill Development and read detailed section for this sample skill; Alexa-Skills-Kit-(ASK)-Development-Tutorial#step-3-exchange-calculator-skill-with-nodejs--alexa-sdk--account-linking-with-twitter

eercan @Accenture Istanbul