can not login use Android SDK
Facebook FB.Mobile.RefreshCurrentAccessToken Api Error : Failed to refresh access token
Tony-Marketing-API.cn is a vibrant community dedicated to Facebook, Meta,Google Ads api, app development, Instagram, and related technologies. It offers valuable bug solutions, troubleshooting cases, and problem-solving strategies shared by users. Stay updated with real-world solutions, development tips, and the latest trends in digital marketing and app development.
Facebook FB.Mobile.RefreshCurrentAccessToken Api Error : Failed to refresh access token
Are Reoccurring Notifications/ Marketing Messages still in Beta? I tried sending an opt In message in Instagram and received '(#10) This account is not eligible for the Recurring Notification IG Beta' but support forums say beta was supposed to be done in 2022!
All the template messages that I post once will be received twice by the opposite user. I send messages through php API. I have two apps under one business account, and both are having the same problems. My PHP curl code is:
$messageBody = 'Welcome and congratulations!! This message demonstrates your ability to send a WhatsApp message notification from the Cloud API, hosted by Meta. Thank you for taking the time to test with us.' ; $template_array = array( "name" => $templateName, // "language" => '{ "code": "en_US" }', //"components" => '' //for parameters ) ; $text_arr = array( 'preview_url' => 'false', 'body' => $messageBody ); $fields = array( 'messaging_product' => 'whatsapp', 'recipient_type' => 'individual', 'to' => 91 . $toMobile, 'type' => 'template', 'template' => $template_array, 'type' => 'text', 'text' => $text_arr ); $headers = array( "Authorization: Bearer " . $accessToken, "Content-Type: application/json", ); $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $postUrl); curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($fields) ); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers ); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $response = json_decode(curl_exec($curl), true); //print_r($response); $jsonResult = curl_exec($curl) ; $resultCode = curl_getinfo($curl, CURLINFO_HTTP_CODE); echo $resultCode . ' - ' . $jsonResult ; curl_close($curl);
When I submit review for my app the API suddenly stopped workin and return this error:
{ "error": { "message": "An unexpected error has occurred. Please retry your request later.", "type": "OAuthException", "is_transient": true, "code": 2, "fbtrace_id": "ADPvfazSrdwO0JyzJRZE4_x" } }
Whatsapp Flows seem to be working fine on Android devices but on iOS devices they get stuck on loading state. Please help.