Skip to content

eercanayar/alexa-skill-linked-account-twitter-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published