i need obtain tweets in real time with filters and certain accounts. I try with this:
filtro="messi,copa100,copaamierica"
personas="488916863,3034605958" #twitters ids here
stream.statuses.filter(track=filtro, follow=[personas])
but only use the track filter, not the follow filter.
Anybody help me with this? Thanks!! Bruno
I think you are using filter
method wrongly. It should be:
filtro= ["messi", "copa100", "copaamierica"] # Exact matching of keywords
personas= ["488916863", "3034605958"] # Comma-separated User ids
stream.statuses.filter(track = filtro, follow = personas)