Modifying tweets parser due to a change in twitter ids.

This commit is contained in:
ruidajo 2022-06-08 16:40:43 -05:00
parent 94b104e0e8
commit 8f3c63dc71

View File

@ -23,8 +23,21 @@ tweets
subcollection := self messages subcollection := self messages
select: [ :each | (each authorId = '1509644668300058633') or: [ each authorId = self id ] ] select: [ :each | (each authorId = '1509644668300058633') or: [ each authorId = self id ] ]
]. ].
self userName = 'ingrodolfohdez'
ifTrue: [
subcollection := self messages
select: [ :each | (each authorId = '1511813393220616192') or: [ each authorId = self id ] ]
].
self userName = 'CastilloMarelen'
ifTrue: [
subcollection := self messages
select: [ :each | (each authorId = '1506282884746952707') or: [ each authorId = self id ] ]
].
(self userName ~= 'FranciaMarquezM' and: [ self userName ~= 'sandralajas' ]) (self userName ~= 'FranciaMarquezM' and: [ self userName ~= 'sandralajas' ])
ifTrue: [ (self userName ~= 'IBetancourtCol' and: [ self userName ~= 'sergio_fajardo' ]) ifTrue: [ subcollection := self messages select: [ :each | each authorId = self id ]] ifTrue: [ (self userName ~= 'IBetancourtCol' and: [ self userName ~= 'sergio_fajardo' ])
ifTrue: [ (self userName ~= 'ingrodolfohdez' and: [ self userName ~= 'CastilloMarelen' ])
ifTrue: [ subcollection := self messages select: [ :each | each authorId = self id ]] ]
]. ].
^ TweetsCollection new ^ TweetsCollection new
messages: subcollection; messages: subcollection;