mgp25 - Whatsapp ChatAPI "bad_token" bug
whatsapp api php free download
whatsapp business api
whatsapp web api
chat api for website
I've googled this to death...
Am doing the initial "codeRequest". Cannot get past "bad_token".
I’ve checked all the values and tried all the versions/ classesMd5 I can find. Have also downloaded the APK myself and calculated the MD5.
I’m just wondering if WhatsApp have completely changed the token algorithm or something? If anyone actually has this working I’d love to hear from you!
Constants.php const DEVICE = 'armani'; const WHATSAPP_VER = '2.16.24'; const OS_VERSION = '5.1.1'; const MANUFACTURER = 'OnePlus'; const BUILD_VERSION = 'YOG4PAS3JL'; const PLATFORM = 'Android'; const WHATSAPP_USER_AGENT = 'WhatsApp/2.16.24 Android/5.1.1 Device/OnePlus-A0001';
I'm pretty sure these are the relevant values, primarily: WHATSAPP_VER, WHATSAPP_USER_AGENT and $classesMd5
Can anyone help? Thanks
Tried it this morning and it's working now.
Maybe I triggered some kind of block yesterday while testing.
WhatsAPI Documentation · mgp25/Chat-API Wiki · GitHub, WhatsApp's Private API. Contribute to mgp25/Chat-API development by creating an account on GitHub. What is WhatsApp? According to the company: “WhatsApp Messenger is a cross-platform mobile messenger that replaces SMS and works through the existing internet data plan of your device. WhatsApp is available for iPhone, BlackBerry, Android, Windows Phone, Nokia Symbian60 & S40 phones.
I tried this one and I got the code by SMS
const DEVICE = 'oppo'; // The device name. const WHATSAPP_VER = '2.18.154'; // The WhatsApp version. const OS_VERSION = '5.1.1'; const MANUFACTURER = 'oppo'; const BUILD_VERSION = 'A37fEX_11_171209'; const PLATFORM = 'Android'; // The platform name. const WHATSAPP_USER_AGENT = 'WhatsApp/2.18.154 Android/5.1.1 Device/oppo-A37f';
$classesMd5 = 'LzjhvO17H+9KeBTuY363Ow=='; // 2.18.154 $key2 = base64_decode('eQV5aq/Cg63Gsq1sshN9T3gh+UUp0wIw0xgHYT1bnCjEqOJQKCRrWxdAe2yvsDeCJL+Y4G3PRD2HUF7oUgiGo8vGlNJOaux26k+A2F3hj8A=');
Chat API WhatsApp API: How To Use the API, Our API works on the basis of the WhatsApp WEB protocol and eliminates the ban as when using libraries from mgp25 and the like. At the same time, we WhatsApp's Private API. Contribute to mgp25/Chat-API development by creating an account on GitHub.
After 9 Hours of R&D, Finally Got the Fruitful Results. Changes are on
public const string WhatsAppVer = "2.18.154"; /// The port that needs to be connected to public const int WhatsPort = 443; public const string Device = "Android"; /// manufacturer public const string Manufacturer = "Xiaomi"; /// OS Version public const string OS_Version = "5.1.1"; public const string UserAgent = "WhatsApp/2.18.154 Android/6.0 Device/Xiaomi-HM_1SW"; string token = "PdA2DJyKoUrwLw1Bg6EIhzh502dF9noR9uFCllGk1447796090073" + number; var classesMd5 = "LzjhvO17H+9KeBTuY363Ow=="; // 2.18.154
Whatsapp PHP SDK by mgp25, The Whatsapp PHP SDK by mgp25 interacts unofficially with the API to send messages Related APIs Whatsapp Chat API Daemon REST API. The .NET WhatsApp library . Contribute to mgp25/Chat-API-NET development by creating an account on GitHub.
How to build a chat app like WhatsApp in Android, iOS & Web?, ). DSL ensures network security and also helps in preventing private data transfer. As and when message is sent, it is queued on the server. WhatsApp's Private API. Contribute to mgp25/Chat-API development by creating an account on GitHub.
How does WhatsApp account work?, on a new device, it will ask you for your phone number. When you login to a new device with same phone number, your account will get logged out from your old device. WhatsApp's Private API. Contribute to mgp25/Chat-API development by creating an account on GitHub.
Twilio API for WhatsApp, enabled numbers page. Optionally, on the same page, you can configure a Fallback URL. According to the company: WhatsApp Messenger is a cross-platform mobile messenger that replaces SMS and works through the existing internet data plan of your device. WhatsApp is available for iPhone, BlackBerry, Android, Windows Phone, Nokia Symbian60 & S40 phones.
- Can i know where you where you download the latest chat-api? Cause my constants.php seen diff with yours.
- I updated my Constants.php with a mixture of values I got from various searches. WHATSAPP_VER and WHATSAPP_USER_AGENT need to work together but the others I think don't do much. That said, support for this API has ended and WhatsApp could disable it easily so I'd recommend not using it. I'm looking for a different solution.