-
Notifications
You must be signed in to change notification settings - Fork 79
FB_VERIFY_TOKEN is none when is already set in .env file #124
Comments
Hello, could you please mention what is your dev environment: OS? using docker or not ? ... |
Sure, I tried in two different OS and didn't use docker in either of them,
|
@LuisFerTR make sure to update your URL to match what you define in .env |
@LuisFerTR hey the token mentioned here is generated on the facebook page , you have just copy and paste that and it works fine.Do update if it isn't:) |
Oh I see, I'm a little lost, where can I get the token generated on the facebook page? I think it could be any string in the .env file and copy and paste in curl command. |
@LuisFerTR see this part. |
I already have APP_ID, APP_SECRET, PAGE_ID and FB_PAGE_TOKEN, but I still missing FB_VERIFY_TOKEN, where can I find it? |
@LuisFerTR the verify token is the page_ access_token which is displayed next to the page_id . Generate that token, and add it to the . env file |
I'm here, I added access token as FB_VERIFY_TOKEN in my .env file, I'm still only getting "CHALLENGE ACCEPTED". |
@LuisFerTR although I don't understand the language but that's the correct ss |
I'm sorry for not giving you a translation, I'm getting "challenge accepted" in the next instruction:
YOUR HOST is replaced with localhost:5000 and FB_VERIFY_TOKEN by the token in the ss, first I added the token in the ss in .env file in FB_VERIFY_TOKEN variable. |
@LuisFerTR if you want to run the repo locally then just do |
Hi, I'm trying to setup the project but I have an issue checking webhook, when I execute
curl -X GET "<YOUR HOST>/webhook?hub.verify_token=<YOUR VERIFY TOKEN>&hub.challenge=CHALLENGE_ACCEPTED&hub.mode=subscribe&init_bot=true"
replacing
<YOUR HOST>
bylocalhost:5000
and<YOUR VERIFY TOKEN>
by the string I wrote on .env fileI only receive "CHALLENGE_ACCEPTED", executing
curl -X GET "<YOUR HOST>/webhook?hub.verify_token=<YOUR VERIFY TOKEN>&init_bot=true"
returns an error stack finishing with this message:
ValueError: FB_VERIFY_TOKEN does not match.
I've already set other variables in .env file but nothing seems to change. Is there anything I'm skipping?
The text was updated successfully, but these errors were encountered: