Creating tweet creation from nitter.
This commit is contained in:
parent
9a2283a653
commit
a1519fc510
9
Datanalitica.package/Tweet.class/instance/fromNitter..st
Normal file
9
Datanalitica.package/Tweet.class/instance/fromNitter..st
Normal 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
|
Loading…
Reference in New Issue
Block a user