From 2adb27958fb3976bd9280b37b5a780ed552a80cb Mon Sep 17 00:00:00 2001 From: Dinesh Kumar Date: Sat, 19 Feb 2022 01:19:07 +0530 Subject: [PATCH] our first working prototype Co-authored-by: qrshivani --- __pycache__/auth.cpython-310.pyc | Bin 0 -> 949 bytes __pycache__/manage.cpython-310.pyc | Bin 0 -> 422 bytes auth.py | 31 ++++++++++++++++++----------- credentials.yaml | 2 ++ manage.py | 9 +++------ twimanage.py | 31 +++++++++++++++++++++++++++++ 6 files changed, 55 insertions(+), 18 deletions(-) create mode 100644 __pycache__/auth.cpython-310.pyc create mode 100644 __pycache__/manage.cpython-310.pyc create mode 100644 credentials.yaml diff --git a/__pycache__/auth.cpython-310.pyc b/__pycache__/auth.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..fc90236fabb51485d3517913a2446af309e3db67 GIT binary patch literal 949 zcmYjQO;6iE5Z$$%;C%3{O3?P;LoYd$0Hsu*3Kf;KpsGL%1rb%Umh2Li*z0t6LloCO z(QCzDNRGYs=j^qo-h1i+bsQ+lu4e2vGrRB2$d1OxiwM^BpUKk=8=+qr7+n^CS753P zjv|V`p*o`00jk&yh}^I278mR_nEDBhVu}KkLT!qvom$jM?F994f)gvT2X^Xci{=vN z!lrpT_8nhY7-@&PS2%@eKbPbN__LMf(=nZ=1zNnauIExWar_M)+)=rpbzamBT#&$;pfE?SP;;DvYlnKpApcZ;03=HnZ)Bnq(78C2<*R&YVjfQ;1 z;F!M6OdRm0VASKnBWm5NlucfD8Ef~<^xkGipD%q<~saonih&bTkb Ph;{2f z#Mz~y3n$&3&%WRH**Zzag6;Y1@P5Vl(-*rYxj1LHM;uTfyofu25+lxl@wLbXbKkQy zzmC{1*zJTv2Mf`$?iGOb+%KmY^h4`%*H~U9O^vyu+3$wzV@FS}kMg?s5N5zPe4nUW zOU5cHv8c#Cs!Li?scSOo%IF2nomDq&vCOOdfz&1)*Xw>>>"))) +if user_choice == 1: + tweet = input("What would you like to tweet? ") + new_tweeet(tweet, api) + print("Tweet sent!") + +elif user_choice == 2: + id = input("What is the ID of the tweet you want to delete? ") + del_tweet(id, api) + print("Tweet deleted!") + +elif user_choice == 3: + print("Goodbye!") + exit() \ No newline at end of file