api, talent list structures

This commit is contained in:
msk
2022-09-24 04:02:19 -07:00
parent 6a89ad4ec6
commit 5b458f2e1f
12 changed files with 248 additions and 36 deletions
+7 -3
View File
@@ -1,17 +1,21 @@
## The bot's catch-up mode
# Scan all accounts for cross-company interactions.
# Terminates when finished scanning and posting.
#
# We should post, at the fastest, one tweet per minute.
import os
import TwitterAPI as api
from util import *
from api import TwAPI
## Returns list of tweets present in queue.txt
def get_local_queue():
f = open(os.path.join(get_project_dir(), 'queue.txt'))
# f = open(os.path.join(get_project_dir(), 'queue.txt'))
pass
def run():
queue = get_local_queue()
pass
pairs = TwAPI.instance.get_users_all_tweets_mentions(1390620618001838086, count=5)
for (tweet, mentions) in pairs:
print_tweet(tweet, mentions)