how to refresh the whatsapp token that was created through embedded signup?
1

Hi, I'm working on a platform in which i implemented the embedded signup for WhatsApp. now few of the customer's tokens get invalidated probably because they change settings in their account. due to this customers can't send messages using WhatsApp. now I'm looking for a way to create the system user token again but I can't find it anyway.

previously, before embedded signup, what I was doing was using Facebook login with scopes of whatsapp_business_messaging etc. and then getting the token extended using one of the API calls and would get the token for 2 months. we changed this approach because this way customers would have to create the new app to get WABA ID and phone number etc. after the embedded sign up now user won't have to create the app manually. but now I'm facing the token issue and can't seem to find a way to refresh it

Shozab
提问时间: 约 3 个月前
已选回答
1

The token you receive through the embedded signup is only a temporary token. You should use that to fetch the permanent access token. It's the very first step in this docs: https://developers.facebook.com/docs/whatsapp/embedded-signup/manage-accounts/

6月26日 05:41
Kim
Shozab

Yes i fetch that permanent token, The issue is if account owner makes some change in account, let's say password, meta will expire the token. And now user needs to create a new permanent token but i can't find any way to create it.

7月1日 19:41