Add favorite and retweet count

This commit is contained in:
Matan Kushner
2019-03-15 17:28:15 -04:00
parent ac30243f38
commit be865f5e85

View File

@@ -51,7 +51,7 @@ async function updateGist(tweet) {
gist_id: gistId, gist_id: gistId,
files: { files: {
[filename]: { [filename]: {
'filename': `🐦 @${twitterHandle} - ${timeAgo} ago`, 'filename': `@${twitterHandle} - ${timeAgo} ago | ❤ ${tweet.favorite_count} | 🔁 ${tweet.retweet_count}`,
content: wrap(tweet.text) content: wrap(tweet.text)
} }
} }