From 8724e817bb88776e25567a638a0b8adb3c737ff0 Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Fri, 25 Jun 2021 02:35:46 +0530 Subject: fix spelling --- Content/posts/2021-06-25-Blog2Twitter-P1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Content/posts/2021-06-25-Blog2Twitter-P1.md b/Content/posts/2021-06-25-Blog2Twitter-P1.md index 3c9bb83..728e97a 100644 --- a/Content/posts/2021-06-25-Blog2Twitter-P1.md +++ b/Content/posts/2021-06-25-Blog2Twitter-P1.md @@ -11,7 +11,7 @@ Why? Eh, no good reason, but should be fun. ## Plan of Action I recently shifted my website to a static site generator I wrote specifically for myself. -Thus, it should be easy to just add a feature into it to check for new posts, split the text into chunks for Twitter threads and post them on Twitter. +Thus, it should be easy to just add a feature to check for new posts, split the text into chunks for Twitter threads and tweet them. I am not handling lists or images right now. ## Time to Code @@ -70,9 +70,9 @@ with open(sample_markdown_file) as f: tweets.append(line) ``` -Every status update using tweepy has an id attached to it, for the next tweet in the thread, it add that ID while calling the function. +Every status update using tweepy has an id attached to it, for the next tweet in the thread, it adds that ID while calling the function. -For every tweet fragment, it also append 1/n. +For every tweet fragment, it also appends 1/n. ```python for idx, tweet in enumerate(tweets): -- cgit v1.2.3