Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

$targets = array("436605635662",
"4916096782533",
"436648204112"); //Who should get a message?
$targets = array("4366xxxx662",
"49160967xxxxx",
"4366482xxxxx"); //Who should get a message?
$messages = array("Einen wundervollen guten Morgen!",
"Guten Morgen! <3",
"Ich hoffe, Sie hatten eine wundervolle Nacht!",
Expand Down Expand Up @@ -35,8 +35,10 @@
echo "\n\n\n\n\n";

require_once 'whatsprot.class.php';
$username = "436646473355"; //Mobile Phone prefixed with country code so for india it will be 91xxxxxxxx
$password = "Z10t1ePNG1CsjZy5hrnHgXm/v1g=";
$username = "43xxxxxxxxx"; //Mobile Phone prefixed with country code so for india it will be 91xxxxxxxx
$password = "password";

//Generate with yowsup!

$w = new WhatsProt($username, 0, "ADarkHero Whatsapp Bot", true); //Name your application by replacing "WhatsApp Messaging"
$w->connect();
Expand All @@ -50,4 +52,4 @@

echo "\n";

?>
?>