Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Twitter shortcode is changing syntax: when would it be appropriate to update the docs? #701

Closed
lcolladotor opened this issue Apr 30, 2022 · 6 comments

Comments

@lcolladotor
Copy link
Contributor

Hi,

Given the changes in Twitter's API, hugo had to change their shortcode for it. See https://discourse.gohugo.io/t/the-tweet-shortcode-will-soon-require-two-named-parameters-user-and-id/35871/2 which links to gohugoio/hugo@0cc39af.

With that in mind,

{{< tweet 852205086956818432 >}}
will likely need to change to {{< tweet user="jtleek" id="852205086956818432" }} and
blogdown::shortcode('tweet', '852205086956818432')
to blogdown::shortcode('tweet', user='jtleek', id='852205086956818432').

Here's an example:

blogdown::shortcode("tweet", user="lcolladotor", id="983876013015826432")
# {{% tweet user="lcolladotor" id="983876013015826432" %}}

Created on 2022-04-30 by the reprex package (v2.0.1)

However, I'm not sure if this will affect users who are using older versions of Hugo. So I'm not sure if changing the documentation makes sense.

In any case, hugo will still work with the old shortcodes for a while.

In my personal case, it's a pain since I used this shortcode a lot at https://github.com/lcolladotor/lcolladotorsource:

% hugo version
hugo v0.98.0+extended darwin/arm64 BuildDate=unknown
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-04-19-latin-american-r-bioconductor-developers-workshop-2018.html:44:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-04-19-latin-american-r-bioconductor-developers-workshop-2018.html:48:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-04-19-latin-american-r-bioconductor-developers-workshop-2018.html:52:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-04-19-latin-american-r-bioconductor-developers-workshop-2018.html:56:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-06-11-mindfulness.html:27:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-06-11-mindfulness.html:28:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-06-11-mindfulness.html:29:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-06-11-mindfulness.html:35:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:24:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-13-r-gene-regulatory-interaction-formulator-for-inquiring-networks.html:132:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:41:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:46:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-17-what-about-a-lawyer-like-app-as-the-mininum-help-for-defandants-in-immigration-cases.html:110:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:49:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:51:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:56:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-29-why-i-applied-to-join-sni-the-mexican-national-researchers-registry.html:21:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:58:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-29-why-i-applied-to-join-sni-the-mexican-national-researchers-registry.html:51:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:21:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-29-why-i-applied-to-join-sni-the-mexican-national-researchers-registry.html:53:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:60:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:24:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-29-why-i-applied-to-join-sni-the-mexican-national-researchers-registry.html:54:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:62:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:19:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:26:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-29-why-i-applied-to-join-sni-the-mexican-national-researchers-registry.html:55:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:64:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:20:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:27:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-29-why-i-applied-to-join-sni-the-mexican-national-researchers-registry.html:56:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:23:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-07-30-harrassment-diversity-in-science-and-inspiraton-from-my-grandmother.html:66:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:23:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:31:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:28:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:24:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-09-29-why-i-applied-to-join-sni-the-mexican-national-researchers-registry.html:62:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:26:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:32:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:29:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:28:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:31:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:33:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:30:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:29:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:32:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:34:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:31:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:30:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:23:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:33:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:35:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:36:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:32:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:34:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:24:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:40:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:41:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:38:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:41:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-23-steps-for-writing-a-twitter-summary-conference-blog-post.html:72:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:41:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:25:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:39:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:42:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:42:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-06-a-knot-of-threads-from-cshl-to-lcg-unam-to-aldo-barrientos-to-diversity-scholarship-opportunities.html:86:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:26:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:47:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:43:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:49:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-06-a-knot-of-threads-from-cshl-to-lcg-unam-to-aldo-barrientos-to-diversity-scholarship-opportunities.html:88:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:40:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:27:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:48:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:44:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:53:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-06-a-knot-of-threads-from-cshl-to-lcg-unam-to-aldo-barrientos-to-diversity-scholarship-opportunities.html:89:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:41:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:34:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:50:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:45:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:54:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-06-a-knot-of-threads-from-cshl-to-lcg-unam-to-aldo-barrientos-to-diversity-scholarship-opportunities.html:90:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:42:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:38:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:51:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:56:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:49:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:46:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-06-a-knot-of-threads-from-cshl-to-lcg-unam-to-aldo-barrientos-to-diversity-scholarship-opportunities.html:91:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:47:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:52:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:50:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:68:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:47:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:48:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:53:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-12-asking-for-help-is-challenging-but-is-typically-worth-it.html:24:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-06-a-knot-of-threads-from-cshl-to-lcg-unam-to-aldo-barrientos-to-diversity-scholarship-opportunities.html:228:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:51:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2019-02-03-the-power-of-tapping-into-your-community-for-support.html:55:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:73:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:48:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:49:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:56:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-12-asking-for-help-is-challenging-but-is-typically-worth-it.html:25:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-06-a-knot-of-threads-from-cshl-to-lcg-unam-to-aldo-barrientos-to-diversity-scholarship-opportunities.html:229:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:52:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:74:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:54:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:50:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:57:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-11-06-a-knot-of-threads-from-cshl-to-lcg-unam-to-aldo-barrientos-to-diversity-scholarship-opportunities.html:230:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:53:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:78:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:56:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:58:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:54:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:54:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:79:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:57:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:62:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:55:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:55:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:63:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:58:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:84:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:56:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:59:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:65:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:65:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:85:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:60:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:66:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:60:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:66:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:97:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:61:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:67:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:61:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:67:4"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:102:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:66:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:69:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:62:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:69:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:103:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:67:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:70:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:70:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:66:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:104:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:72:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:68:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:71:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:110:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:67:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:73:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:72:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:69:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:111:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:77:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:73:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:68:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:73:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:112:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:82:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:74:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:69:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:74:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:116:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:86:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:70:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:75:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:117:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-16-ashg18-tweet-summary.html:99:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:75:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:71:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:81:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:118:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:76:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-19-ashg18-tweet-summary-day-4.html:72:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:119:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:83:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:77:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:126:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:84:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:78:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2019-02-28-cdsbmexico-remember-to-apply-for-bioc2019-travel-scholarships.html:22:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:127:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:85:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:82:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:128:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:86:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:83:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:87:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:129:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:88:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:84:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:130:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2019-04-10-the-evolution-of-my-academic-career-as-seen-through-posters-and-talks-thanks-to-hugo-academic-4-1.html:22:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:89:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:85:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:134:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:86:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:90:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:135:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:87:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:95:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:136:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:88:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:137:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:96:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:89:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:138:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:102:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-20-ashg18-tweet-summary-day-5.html:94:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:139:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:103:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:143:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:104:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:144:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:108:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:149:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:112:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:150:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:113:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:151:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:117:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:153:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:135:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:154:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:141:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-02-03-conference-feelings-from-newbie-to-sponsor.html:54:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-02-12-learning-from-our-search-history.html:47:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:158:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:142:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-02-12-learning-from-our-search-history.html:168:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:159:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:146:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:161:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:147:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:162:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:148:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:163:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-02-29-diving-together-into-the-unknown-world-of-spatial-transcriptomics.html:45:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:155:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:164:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-02-29-diving-together-into-the-unknown-world-of-spatial-transcriptomics.html:54:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:161:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:165:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-02-29-diving-together-into-the-unknown-world-of-spatial-transcriptomics.html:61:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:162:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:166:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-02-29-diving-together-into-the-unknown-world-of-spatial-transcriptomics.html:66:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:163:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:167:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-02-29-diving-together-into-the-unknown-world-of-spatial-transcriptomics.html:200:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:164:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:179:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:165:4"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-18-ashg18-tweet-summary-day-3.html:180:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:167:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:168:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2020-11-03-cleaning-up-my-r-packages-and-config-files.en.html:62:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:172:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:173:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:174:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:178:1"
WARN 2022/04/30 17:44:04 The "tweet" shortcode will soon require two named parameters: user and id. See "/Users/leocollado/Dropbox/Code/lcolladotorsource/content/post/2018-10-17-ashg18-tweet-summary-day-2.html:190:1"

Best,
Leo

@lcolladotor
Copy link
Contributor Author

Here's some R code I wrote to help migrate my blog posts. https://gist.github.com/lcolladotor/fb6d0cfd08b0baa26a9d114726d9bb62

@yihui
Copy link
Member

yihui commented May 3, 2022

Yes, I'll update the docs as well as the shortcode() example and mention that the username is required for Hugo >= 0.89.0. Thanks!

@lcolladotor
Copy link
Contributor Author

Ok, sounds good! Thanks!

@yihui yihui closed this as completed in 3c1ea2c May 6, 2022
Repository owner moved this from In Progress to Done in R Markdown Team Projects May 6, 2022
@lcolladotor
Copy link
Contributor Author

Awesome, thanks Yihui for 3c1ea2c. I looked at it and it's great. Thanks again!

@SolomonMg
Copy link

Hello, if you'd like to update your tweet shortcodes with a python script (I used it for Hugo academic) I have a gist for you: https://gist.github.com/SolomonMg/2ad779d06ff0c0609d323014b2ec3b32

@SolomonMg
Copy link

import os
import requests

# Translated from https://www.isjw.uk/post/blogging/fix-hugo-tweet-shortcodes/
# Using Chat GPT-3. Minor edits to allow for leading whitespace. 

DIR = "/WHEREVER YOU WANT TO START/"
BearerToken = "INSERT BEARER TOKEN GET IT HERE https://developer.twitter.com/en/portal/dashboard"

# Function to use Twitter API to convert a Tweet ID to a Twitter Handle
def Get_TwitterHandleFromTweetID(TweetID, BearerToken):
    URL = f"https://api.twitter.com/2/tweets/{TweetID}?expansions=author_id"
    headers = {"Authorization": f"Bearer {BearerToken}"}
    response = requests.get(URL, headers=headers)
    return response.json()["includes"]["users"][0]["username"]

# Define what our current shortcode starts with
shortcode = "{{"+"< tweet "

# Get all the Markdown files in the Hugo folder
files = []
for dirpath, dirnames, filenames in os.walk(DIR):
    for filename in filenames:
        if filename.endswith('.md'):
            files.append(os.path.join(dirpath, filename))

# Loop through the files
for file in files:
    # Reset our Changed flag to false, until we make any changes to this file.
    changed = False
    # Get Lines in file containing Tweet shortcodes that we haven't yet updated
    with open(file, 'r') as f:
        content = f.read()
    for tweetcode in [line for line in content.splitlines() if shortcode in line and 'user=' not in line]:
        print("file: " + file)
        # Extract the Tweet ID from the shortcode
        tweetID = tweetcode.split(shortcode)[-1].split(" >}}")[0]
        # Get TwitterHandle from Tweet ID
        twitterHandle = Get_TwitterHandleFromTweetID(tweetID, BearerToken)
        # Update the shortcode in the file content
        content = content.replace(shortcode+tweetID, f'{shortcode}id="{tweetID}" user="{twitterHandle}"')
        # Set our Changed flag to true as we've changed the file content
        changed = True
    # Update file if changes were made.
    if changed:
        # Write the updated file
        with open(file, 'w') as f:
            f.write(content)
        # Make a note on the console that we've done this
        print(f"Updated {file}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants