Created 05-02-2018 04:33 AM
Hi - I have successfully been running Apache NiFi to fetch tweeter posts for long. But Yesterday, I noticed it doesn't fetch tweets based on 'Terms to Filter on' for GetTwitter Processor. I tried mentioning the terms very clearly and even a single term doesn't fetch relevant tweets, rather the processor is just fetching any irrelevant tweets and loads into a file using putFile processor.
I shall appreciate if you kindly help me find out , where it has gone wrong. For ref. I am using HDF 2.0.
Shall appreciate your quick n precise reply. Also attaching the screenshot of the processor.
Thanks
Created 05-02-2018 04:38 AM
Created 01-21-2020 09:20 PM
Hello,
From your screenshot, you are filtering based on both location and filter and GetTwitter processor will retrieve tweets matching either condition
According to Twitter API documentation:
"The track, follow, and locations fields should be considered to be combined with an OR operator. track=foo&follow=1234 returns Tweets matching “foo” OR created by user 1234."