handle was hardcoded in asfdata.py. Test with bad handle
diff --git a/asfdata.yaml b/asfdata.yaml
index cee06ca..8a26ab4 100644
--- a/asfdata.yaml
+++ b/asfdata.yaml
@@ -80,7 +80,7 @@
# used on index.ezmd
twitter:
# load, transform, and create a sequence of tweets
- handle: ''
+ handle: 'WhatTheASF'
count: 1
# used on index.ezmd
diff --git a/theme/plugins/asfdata.py b/theme/plugins/asfdata.py
index a4f8e7a..6e6c22b 100644
--- a/theme/plugins/asfdata.py
+++ b/theme/plugins/asfdata.py
@@ -325,7 +325,7 @@
def process_twitter(handle, count):
bearer_token = twitter_auth()
- query = "from:TheASF"
+ query = f"from:{handle}"
tweet_fields = "tweet.fields=author_id"
url = "https://api.twitter.com/2/tweets/search/recent?query={}&{}".format(
query, tweet_fields