From 8f3c63dc714f43ef29abb616166287c318d55033 Mon Sep 17 00:00:00 2001 From: ruidajo Date: Wed, 8 Jun 2022 16:40:43 -0500 Subject: [PATCH] Modifying tweets parser due to a change in twitter ids. --- .../NitterUser.class/instance/tweets.st | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Socialmetrica.package/NitterUser.class/instance/tweets.st b/Socialmetrica.package/NitterUser.class/instance/tweets.st index b6b1680..551f705 100644 --- a/Socialmetrica.package/NitterUser.class/instance/tweets.st +++ b/Socialmetrica.package/NitterUser.class/instance/tweets.st @@ -23,8 +23,21 @@ tweets subcollection := self messages 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' ]) - 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 messages: subcollection;