rickydunlop / fbmessenger-node Goto Github PK
View Code? Open in Web Editor NEWFB messenger for node
License: MIT License
FB messenger for node
License: MIT License
2.16.0
to 2.17.0
.This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 61 commits.
0499050
bump to v2.17.0
f479635
[webpack] v0.11.1
8a4226d
Merge pull request #1320 from bradzacher/export-ts-namespaces
988e12b
fix(export): Support typescript namespaces
70c3679
[docs] make rule names consistent
6ab25ea
[Tests] skip a TS test in eslint < 4
405900e
[Tests] fix tests from #1319
2098797
[fix] export
: false positives for typescript type + value export
70a59fe
[fix] Fix overwriting of dynamic import() CallExpression
e4850df
[ExportMap] fix condition for checking if block comment
918567d
[fix] namespace
: add check for null ExportMap
2d21c4c
Merge pull request #1297 from echenley/ech/fix-isBuiltIn-local-aliases
0ff1c83
[dev deps] lock typescript to ~
, since it doesn’t follow semver
40bf40a
[*] [deps] update resolve
28dd614
Merge pull request #1304 from bradennapier/feature/typescript-export-type
There are 61 commits in total.
See the full diff
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
i try to declare GenericTemplate with this code
let __elements = [
new Element({
title: 'Title',
item_url: 'http://www.example.com',
image_url: 'http://www.example.com',
subtitle: 'Subtitle',
buttons: [
new Button({
type: 'web_url',
title: 'Button',
url: 'http://www.example.com',
}),
]
})
];
let test_generic = new GenericTemplate([__elements]);
but error throw
Error: elements must be an array
at GenericTemplate.BaseTemplate (/user_code/node_modules/fbmessenger/dist/templates/BaseTemplate.js:9:13)
i already debug with Array.isArray() it return true
Any ideas of what is going on?
What would be the propper way to use fbmessenger with multiple pages simultaneously?
Thanks.
7.5.2
to 7.6.0
.This version is covered by your current version range and after updating it in your project the build failed.
@commitlint/cli is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
Hello @rickydunlop ,
There is also a method to delete the Get Started Button called deleteGetStartedButton
Correct function name: deleteGetStarted
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
We can't import OpenGraphElement
or OpenGraphTemplate
because they are not being exported either in the index.js
file for their respective folders nor in Messenger.js
.
Is this intentional (is it not supported yet)? If so, do you need help with this?
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.
Since we did not receive a CI status on the greenkeeper/initial
branch, we assume that you still need to configure it.
If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/
.
We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
Hi, I'm trying to setup for the first time my server with fbmessenger.
I've finished setting everything up on the App page:
url
and verify_token
) is listening for messages
Page App Token
is correctI'm getting the following error every time the page receives a message:
TypeError: Cannot read property 'entry' of undefined
at Messenger.handle (/var/www/letsrock/clientes/sellia-messenger/node_modules/fbmessenger/dist/Messenger.js:106:26)
at /var/www/letsrock/clientes/sellia-messenger/dist/index.js:46:13
at Layer.handle [as handle_request] (/var/www/letsrock/clientes/sellia-messenger/node_modules/express/lib/router/layer.js:95:5)
at next (/var/www/letsrock/clientes/sellia-messenger/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/var/www/letsrock/clientes/sellia-messenger/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/var/www/letsrock/clientes/sellia-messenger/node_modules/express/lib/router/layer.js:95:5)
at /var/www/letsrock/clientes/sellia-messenger/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/var/www/letsrock/clientes/sellia-messenger/node_modules/express/lib/router/index.js:335:12)
at next (/var/www/letsrock/clientes/sellia-messenger/node_modules/express/lib/router/index.js:275:10)
at expressInit (/var/www/letsrock/clientes/sellia-messenger/node_modules/express/lib/middleware/init.js:40:5)
Any ideas of what is going on?
Edit:
package.json
:{
"name": "sellia-messenger",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rimraf dist/ && babel ./ --out-dir dist/ --ignore ./node_modules,./.babelrc,./package.json,./npm-debug.log --copy-files",
"start": "npm run build && node dist/index.js"
},
"author": "",
"license": "ISC",
"dependencies": {
"dotenv": "^4.0.0",
"express": "^4.15.3",
"fbmessenger": "^4.0.0",
"socketio": "^1.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"rimraf": "^2.6.1"
}
}
.babelrc
:{
"presets": ["es2015"]
}
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.