Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 774 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 774 Bytes

pb-logs-firebase

Use Firebase to store and track conversation logs between your Pandorabot and your users. Based on this blog post.

Usage

git clone https://github.com/djfdev/pb-logs-firebase.git
cd pb-logs-firebase
bower install

Make sure to include your root Firebase URL in both js/user.js and js/log.js:

...
var root = "https://your-firebase.firebase.io.com/";
...

You will also need to provide your Pandorabots API credentials in js/user.js:

...
var pb = new Pandorabot("aiaas.pandorabots.com", APP_ID, BOTNAME, USER_KEY);
...

Note: talk.js requires cookies, so you must enable file cookies in your browser or use a server.