MCPcopy Create free account
hub / github.com/fogleman/primitive / twitter_api

Function twitter_api

bot/main.py:131–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 subprocess.call(cmd, shell=True)
130
131def twitter_api():
132 return twitter.Api(
133 consumer_key=TWITTER_CONSUMER_KEY,
134 consumer_secret=TWITTER_CONSUMER_SECRET,
135 access_token_key=TWITTER_ACCESS_TOKEN_KEY,
136 access_token_secret=TWITTER_ACCESS_TOKEN_SECRET)
137
138def tweet(status, media, in_reply_to_status_id=None):
139 api = twitter_api()

Callers 2

tweetFunction · 0.85
handle_mentionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…