-
Notifications
You must be signed in to change notification settings - Fork 546
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
not able to register in facebook webhook #52
Comments
@rcchit what is the URL you are using? |
I had the same issue. You need to paste in the url with /webhook. https://this-app-68903.herokuapp.com/webhook/ Since this is the sub-dir in the code for FB verification app.get('/webhook/', function (req, res) { |
@Komsomol I had the same issue. After adding |
I am getting the below error, when trying to setup the webhook. How do we add configurations to heroku? I do not have any prior knowledge in cloud deployment. Please help. The URL couldn't be validated. Callback verification failed with the following errors: HTTP Status Code = 503; HTTP Message = Service Unavailable |
I get a similar error I've tried even changing the |
@sunnyMiglani are you getting a 503 error? |
@sunnyMiglani We need to provide start script to "start": "node index.js" in package.json file. Hope that works. |
@kostimarko I'm getting a 502 "bad gateway" error @codename-47 I've tried adding that, still receive the same error |
@sunnyMiglani have you tried running it with out a heroku config? |
@codename-47 on adding configurations Generate a token from this site and save the token somewhere: To add configurations to heroku, type this command into the terminal while in your working directory. You can then access the token in your index.js file as follows: |
I am facing given problem
any solution for this https://github.com/netguru/messenger-ruby/issues/54 |
I am facing similar problem here is my issue, The URL couldn't be validated. Response does not match challenge, expected value="1060150785", received=""1060150785"" |
@F-Makhokha check for index.js and add https://YOUR-APP.herokuapp.com/webhook/ |
Hello, any updates about that issue ? Thanks in advance |
Deploy the Heroku app first using git and then you should register the facebook webhook. |
Had the same issue, but turns out I was using the wrong URL. Use the URL that comes out in the build logs |
Trying to register facebook webhook and keep getting error listed below .BTW I changed in index.js from FB_PAGE_ACCESS_TOKEN to PAGE_ACCESS_TOKEN
"The URL couldn't be validated. Response does not match challenge, expected value="492837124", received="hello world i am a..."
I created these config on heroku
PAGE_ACCESS_TOKEN
VERIFY_TOKEN
The text was updated successfully, but these errors were encountered: