https://discord.gg/botpress logo
#🤝help
Bot only works on WhatsApp for 24 hours - Temporary Access Token
# 🤝help
l

loud-tiger-92573

07/13/2023, 9:58 AM
So I linked my bot to WhatsApp, everything works fine. But after 24 hours (when the temporary access token get's newly generated) it stops working until I paste in the new token. But manually updating that token every 24 hours can't be the way it is intended to work, right? Do you have any solution for me? Thanks in advance
a

acceptable-kangaroo-64719

07/13/2023, 11:21 AM
Hey @loud-tiger-92573 you can get a permanent access token if you make a new system user for the bot. There's a step-by-step in Meta's documentation here https://developers.facebook.com/blog/post/2022/12/05/auth-tokens/
l

loud-tiger-92573

07/13/2023, 11:54 AM
Hey Gordy, Thank you very much for your help. Appreciate it alot!
2 Views