Ever get those annoying spam callers, or just really want to bug your friend. Do I have a script for you.
from twilio.rest import Client
import time
def main():
FROM= "twilio number"
TO = "SPAM Caller number"
#count of times it will call
ct = 0
limit = 20
account_sid = "twilio account id"
auth_token = "twilio auth_token"
client = Client(account_sid, auth_token)
while ct < limit:
call = client.calls.create(
to = TO,
from_=FROM,
url = ""
)
CT = CT+1
time.sleep(60.0)
if __name__ == '__main__':
print("Calling your victim....")
main()
So for obvious reasons I have to put a disclaimer. DO NOT USE FOR BAD! Alright so there is a limit on there which you can obviously change currently sent to 20, and a 1 minute sleep time between calls. Best thing to do if you really want to annoy someone is to set up like 5 twilio accounts and put in each of their account sid and auth tokens that way the person can’t just block that one number. Enjoy!