You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
When I used it, I found that the output result of the following code could not represent the hierarchical relationship of the replies. It just added each tweet to the List.
user_id = (await api.user_by_login(username)).id
tweets = await gather(api.user_tweets_and_replies(user_id, limit=1))
posts = []
for i in tweets:
posts.append(json.loads(i.json()))
posts = json.dumps(posts, ensure_ascii=False)
I'm not very familiar with Python, I wonder if I've made a mistake somewhere?
Looking forward to your reply.
The text was updated successfully, but these errors were encountered:
@vladkens Thank you for your reply, but that's not what I meant, I meant that all the replies and posts are together and I can't tell which reply is which.
Hi!
When I used it, I found that the output result of the following code could not represent the hierarchical relationship of the replies. It just added each tweet to the List.
I'm not very familiar with Python, I wonder if I've made a mistake somewhere?
Looking forward to your reply.
The text was updated successfully, but these errors were encountered: