Comments (3)
I agree, this would be a useful example! If someone is wants to duplicate the example and add a version with persistence, the maintainers would accept the contribution.
from node-slack-events-api.
@aoberoi I've added Local Storage for persistence, with the obvious disclaimer that it's for demo purposes only as it's not secure. But this will allow those getting started to fiddle with the code without having to re-authorize continuously.
I think it's good to include it in the current example rather than duplicate it, as it would be confusing to have two examples; one with and one without proper token storage. Different examples should probably showcase different abilities of the node-slack-events-api instead.
What do you think? Is that alright?
from node-slack-events-api.
done and done. thanks again @ErwinLengkeek
from node-slack-events-api.
Related Issues (20)
- Use an npmignore file to only publish the output of babel to npm
- Add node v10 to test matrix
- Add support for request signing
- Unable to authorize using OAuth HOT 1
- Add requestListener usage to README HOT 1
- Export helper methods such as `verifyRequestSignature` HOT 2
- Example does not work (local machine and glitch) HOT 3
- Listen for any event HOT 3
- Friendly error messages in example app HOT 1
- Greet and React Permissions HOT 2
- I can't verify Production URL for events API HOT 1
- verifyRequestSignature does not consider body-parser's req.rawBody HOT 7
- New project structure: move to monorepo
- Slack Node SDK signing verification issue in Proxy environment HOT 1
- dialog.open method to generate drop down value based on another element selected value. HOT 1
- This project is moving to slackapi/node-slack-sdk
- `verifyRequestSignature` does not create a signature that's the same as slack's HOT 1
- createServer()'s path option is unused, deprecate? HOT 2
- npm ERR! Unexpected end of JSON input while parsing near '..."require-directory":"' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-slack-events-api.