Creating tweet creation from nitter.

This commit is contained in:
ruidajo 2022-03-28 18:58:07 -05:00
parent 9a2283a653
commit a1519fc510

View File

@ -0,0 +1,9 @@
accessing
fromNitter: aDictionary
"created := (aDictionary at: 'pubDate') asDateAndTime."
text := aDictionary at: 'text'.
"id := aDictionary at: 'id'.
authorId := aDictionary at: 'author_id'."
user := aDictionary at: 'creator'.
"conversationId := aDictionary at: 'conversation_id' ifAbsent: [ '' ]."
^ self