2022-04-01 22:22:33 +00:00
|
|
|
accessing
|
|
|
|
getMessages
|
2022-04-02 00:34:30 +00:00
|
|
|
| lastTweetsRaw customQuery lastTweets |
|
2022-04-01 22:22:33 +00:00
|
|
|
lastTweetsRaw := self rssFeed xmlDocument xpath: '//item'.
|
|
|
|
lastTweets := TweetsCollection new.
|
2022-04-02 00:34:30 +00:00
|
|
|
customQuery := Dictionary new
|
|
|
|
at: 'parameters' put: self;
|
|
|
|
at: 'date' put: DateAndTime now;
|
|
|
|
yourself.
|
|
|
|
lastTweets query: customQuery.
|
2022-04-01 22:22:33 +00:00
|
|
|
lastTweetsRaw do: [ :rssTweet |
|
|
|
|
lastTweets add: ((Tweet new fromNitterRssItem: rssTweet ))
|
|
|
|
].
|
|
|
|
^ lastTweets
|
|
|
|
|