Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Introduction

This repository contains a sample Node.js code to implement Facebook Messenger Account Linking on top of the Microsoft Bot Framework.

Running locally

  • Follow the Bot Framework documentation to register a bot and configure it to the Facebook Messenger channel
  • Set the following environment variables according to your configuration
    • BOT_FRONTEND_URL is the publicly accessible URL to where you host this code, for example, a URL generated by ngrok
    • MICROSOFT_APP_ID and MICROSOFT_APP_PASSWORD can be obtained from the Bot Framework developer portal
    • FACEBOOK_PAGE_TOKEN is the token generated during configuration of the Facebook Messenger bot and is required in the unlink account scenario
npm install
node index.js
  • Say "link account" to the bot via Facebook Messenger to start the account linking process

Demo

account-linking-iphone

About

No description, website, or topics provided.

Resources

Releases

No releases published
You can’t perform that action at this time.