i have one cron that sending notification and its running for each 24 hours. so i want to add event on that cron for that user. so should i call refresh token api before running add event api?
I have Access token for v2.0 but when i am trying to get refresh token that is long lived.
its give me an error
prnt.sc/zaudnSFYhecT
and below is the code that i am trying to add
function RefreshToeknOutlook($params) {
$res_data=[
'error_msg'=>"",
"full_res"=>[],
...