Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build project #18

Closed
cyb3rsalih opened this issue Dec 31, 2018 · 3 comments
Closed

Can't build project #18

cyb3rsalih opened this issue Dec 31, 2018 · 3 comments

Comments

@cyb3rsalih
Copy link

cyb3rsalih commented Dec 31, 2018

Is your feature request related to a problem? Please describe.
Yes I can't try the framework with run an example project.

Describe the solution you'd like
I expect npm start or npm run will open a web page of the project.

Describe alternatives you've considered
firstly I installed node packages with npm install after that
I tried npm start and npm run commands. Get this output:

Lifecycle scripts included in intelligo:
  postinstall
    opencollective-postinstall
  test
    mocha --recursive test/*

available via `npm run-script`:
  test:watch
    npm test -- --watch
  • npm run-script gives same output
  • Googled the output for any solution also
  • Also look for any readme or build file.
@doljko
Copy link
Contributor

doljko commented Jan 3, 2019

Here is some example.
https://github.com/opengineer/jisho-bot/blob/master/index.js

@cyb3rsalih
Copy link
Author

Thank you! with node index.js I can run the project. Now error message says
I need these 3 values.

    "APP_SECRET": "",
    "PAGE_ACCESS_TOKEN": "",
    "VALIDATION_TOKEN": ""

From developers.facebook.com when I create my app I can see the app_secret .
But can't see 2 others. Could you help me for this?

@tortuvshin
Copy link
Member

tortuvshin commented Jan 4, 2019

@cyb3rsalih To run the project make sure you add the following values to your environment variables:

ACCESS_TOKEN: A page access token for your app, found under App -> Products -> Messenger -> Settings -> Token Generation
VERIFY_TOKEN: A token that verifies your webhook is being called. Can be any value, but needs to match the value in App -> Products -> Webhooks -> Edit Subscription

https://developers.facebook.com/docs/messenger-platform/getting-started/quick-start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants