SHARE
TWEET

Untitled

a guest Feb 4th, 2016 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $username = "xxxxxxxxxxxxx";
  2. $password = "xxxxxxxxxxxxxxxxxxxxxxxxxx=";
  3. $w = new WhatsProt($username, "TestinGWhatsApp", false, false);
  4. $events = new MyEvents($w);
  5. $events->setEventsToListenFor($events->activeEvents);
  6. $w->connect();
  7. $w->loginWithPassword($password);
  8. $w->sendPing();
  9. $w->pollMessage();
  10. $w->getMessages();
  11. $w->disconnect();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top