Last active
October 12, 2020 18:03
-
-
Save ArjunDandagi/351cbc71bcdfd7c5da0fa5f722bbbec5 to your computer and use it in GitHub Desktop.
Follow 101 COOL DevOps account in twitter - tweepy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tweepy | |
class TwitterFollow(object): | |
def __init__(self): | |
consumer_key = "GYYNimu/ExAMPLE/" | |
consumer_secret = "QYRC39S84T8zycck2/EXAMPLE/" | |
access_token = "417735939-tfBA/EXAMPLE/" | |
access_token_secret = "59kGZexvIRJE/EXAMPLE/" | |
auth = tweepy.OAuthHandler(consumer_key,consumer_secret) | |
auth.set_access_token(access_token,access_token_secret) | |
self.api=tweepy.API(auth) | |
print(self.api) | |
def checkHelloWorld(self): | |
self.api.update_status("Hello World !!! wrote my first #tweepyapp #app #automation") | |
def makeFriendship(self): | |
with open('twitter_users.txt','r') as f: | |
lst = [line.rstrip('\n \t') for line in f] | |
j=0 | |
for i in lst: | |
try: | |
self.api.create_friendship(i) | |
print(j) | |
j+=1 | |
except: | |
continue | |
return | |
mytwitter = TwitterFollow() | |
mytwitter.makeFriendship() | |
exit(0) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jtf | |
jasonhand | |
jack_maher | |
courtneynash | |
manupaisable | |
schwartz_cio | |
matthewpskelton | |
douglassquirrel | |
GeertjanW | |
jbeda | |
IanColdwater | |
justincormack | |
cdavisafc | |
LachlanEvenson | |
kelseyhightower | |
bridgetkromhout | |
cmcluck | |
samnewman | |
lynnaloo | |
jeffbarr | |
scottdavis99 | |
sallyeaves | |
jezhumble | |
samjulien | |
JMHReif | |
matthewrevell | |
DivineOps | |
alispivak | |
marcysutton | |
allspaw | |
RossClanton | |
patrickdebois | |
nicolefv | |
RealGeneKim | |
chawklady | |
CMaslach | |
stevemayner | |
jonsmart | |
StevenJSpear | |
adrianco | |
jasonacox | |
damonedwards | |
bernardgolden | |
JayneGroll | |
DavidLinthicum | |
ericarmorrison | |
QuinnyPig | |
littleidea | |
botchagalupe | |
sigje | |
sebgoa | |
mitchellh | |
bketelsen | |
tracymiranda | |
TopoPal | |
lizrice | |
garethr | |
sytses | |
ashleymcnamara | |
joshcorman | |
SamGuckenheimer | |
shehackspurple | |
MayaKaczorowski | |
mdkail | |
devsecops | |
caitie | |
EUSP | |
wickett | |
KoltonAndrus | |
nora_js | |
yesthattom | |
mipsytipsy | |
cfrln | |
jennski | |
TracyRagan | |
jpaulreed | |
aaronrinehart | |
caseyrosenthal | |
Nikolay_A00 | |
katrinaclokie | |
joecolantonio | |
lisacrispin | |
kentcdodds | |
pgrizzaffi | |
techgirl1908 | |
iammeaghanlewis | |
jlipps | |
imalittletester | |
bealhelen | |
jonno | |
ChrisCondo2017 | |
dominicad | |
BryanFinster | |
mik_kersten | |
EricMinick | |
SteveElsewhere | |
e_robertson16 | |
swardley | |
TechBeaconCOM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GlobalKnowledge | |
nixcraft | |
JoeHobot | |
Champagnie | |
bitfield | |
adamvazquez_ | |
Spaceprogrammer | |
gitlab | |
DZone | |
chef | |
geek_king | |
DEVOPS_BORAT | |
linuxacademyCOM | |
whitehatsec | |
RealGeneKim | |
notjoshaxelman | |
hullsean | |
bitbar | |
RobbyP87 | |
snipeyhead | |
jfrog | |
StegoPax | |
BobbyJason | |
SQLvariant | |
Japh | |
cj_grounder | |
mmurph | |
Taragrg6 | |
stack72 | |
ogoldich | |
dandigangi | |
Metricly | |
philsjh | |
lithespeed | |
CTF365 | |
GaryDower | |
ibenot | |
queertechgirl | |
nicolargo | |
benjaminwootton | |
gmurrel | |
Ara4Sh | |
Zachthegeek | |
Promise_Maz | |
UnderstandingR | |
GurayYildirim | |
darrylktaft | |
manjrem | |
Dome9 | |
JorgeJimenez03 | |
TechJobsWales | |
CloudCoreo | |
euromile | |
LTinCloud | |
avnmsh | |
thattommyhall | |
DevOpsHero | |
devsecops | |
ContinoHQ | |
DerekBrittonUK | |
BeShippable | |
iMilnb | |
JonathanBoyd4 | |
msanthakumara | |
oferez | |
cfalguiere | |
_AlexYates_ | |
atlantabass | |
MrTaoYang | |
alterway | |
justinchronicle | |
sbils | |
DOES_EUR | |
MaartjeME | |
mitchdenny | |
kloener | |
rmc47 | |
mrjcleaver | |
marksmalley | |
ConvergeDetroit | |
dwdRAJU | |
DoerrfeldBill | |
TrevorRobertsJr | |
CA_Iberia | |
clicktechlabs | |
allen_fisher | |
Weathermansam77 | |
momskij | |
kas86h | |
dhague | |
brucemorrison | |
altayeb | |
baecke | |
dhough87 | |
gischethans | |
otaku_coder | |
WinZyz | |
sumit_uit | |
DivineOps | |
cyrilleleclerc | |
appperfeng |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment