1. Hannu Pikkarainen
  2. PowerBuilder
  3. Tuesday, 7 November 2023 16:52 PM UTC

Hi,

I have created an application with PB & PowerServer 2022R2 build 2819. It uses WhatsApp Business to send user an one-time user PIN to authenticate user.

WhatsApp Business needs a fresh Bearer token (less than 23 h old).

How can I update that token from PB code?

BR, Hannu

 

Accepted Answer
Francisco Martinez @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 7 November 2023 17:20 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Hannu,

 

Based on my very superficial research, I think that token has to be obtained from Meta's servers https://developers.facebook.com/blog/post/2022/12/05/auth-tokens/, it probably doesn't mean your app's authorization's bearer token.

 

Regards,
Francisco

Comment
  1. Hannu Pikkarainen
  2. Sunday, 19 November 2023 12:51 PM UTC
Hi Francisco,



Your advice was 100% correct and solved my problem, Thanks!



BR, Hannu



  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.