In the case of watanabe_naomi
like_count:
entry?.content?.itemContent?.tweet_results?.result?.legacy
?.favorite_count ?? 0,
In the case of shinoshisha
like_count:
entry?.content?.itemContent?.tweet_results?.result?.tweet?.legacy
?.favorite_count ?? 0,
Please check
Participez à la discussion - ajoutez un commentaire ci-dessous:
I return exactly what twitter gives me, so please you can make a condition to check if “tweet” key exist, if it exists, then get legacy from the tree, else parse legacy directly.