How to Generate Permanent Access token in WhatsApp Cloud API 2024 | Access token debugger | New 2024

Опубликовано: 14 Май 2024
на канале: Programming Make Sense
3,123
43

Creating a Permanent Access Token
Knowing that you need to use a bearer token in the Authorization header of an HTTP request is helpful, but it’s not enough. The only access token you’ve seen so far is temporary. Chances are that you want your app to access the API for more than 24 hours, so you need to generate a longer-lasting access token.

Fortunately, the Meta for Developers platform makes this easy. All you need to do is add a System User to your business account to obtain an access token you can use to continue accessing the API. To create a system user, do the following:

Go to Business Settings.

Select the business account your app is associated with.
Below Users, click System Users.
Click Add.
Name the system user, choose Admin as the user role, and click Create System User.
Select the whatsapp_business_messaging permission.
Click Generate New Token.
Copy and save your token.

#MetaforDevelopers
#APIToken
#SystemUser
#BusinessSettings
#Authorization
#BearerToken
#WhatsAppBusiness
#AccessManagement
#APIIntegration
#DeveloperTips


Смотрите видео How to Generate Permanent Access token in WhatsApp Cloud API 2024 | Access token debugger | New 2024 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programming Make Sense 14 Май 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,123 раз и оно понравилось 43 людям.