Thanks to GitGuardian

This commit is contained in:
Navan Chauhan 2019-05-11 22:57:48 +05:30 committed by GitHub
parent 6cbd67bb72
commit dde9814515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 9 deletions

View File

@ -2,12 +2,12 @@
import tweepy
#twitter application credentials
consumer_key="knQFpTnjuSvr6OxYwebt3wyrd"
consumer_secret="Mhex3oRkmaF7lD3hoMvHpAD6ctW0ugKYCopTlhc0JzOLOMIZ0w"
consumer_key="addYours"
consumer_secret="addYours"
#twitter user credentials
access_token="2846631344-wEozinvHfEIFxFVy51I6te8SrN5OTFtU00wxsiz"
access_token_secret="Nfx1U8a2TjAQXFLBrJIyy2p36sjBGAWFIthLc1cIoI56U"
access_token="AddYours"
access_token_secret="AddYours"
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
@ -28,10 +28,10 @@ def get_api(cfg):
def main():
# Fill in the values noted in previous step here
cfg = {
"consumer_key" : "knQFpTnjuSvr6OxYwebt3wyrd",
"consumer_secret" : "Mhex3oRkmaF7lD3hoMvHpAD6ctW0ugKYCopTlhc0JzOLOMIZ0w",
"access_token" : "2846631344-wEozinvHfEIFxFVy51I6te8SrN5OTFtU00wxsiz",
"access_token_secret" : "Nfx1U8a2TjAQXFLBrJIyy2p36sjBGAWFIthLc1cIoI56U"
"consumer_key" : consumer_key,
"consumer_secret" : consumer_secret,
"access_token" : access_token,
"access_token_secret" : access_token_secret
}
api = get_api(cfg)