Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Looking for directions to pull the data from twitter through a ‘search’ widget.

avatar
New Contributor

I tried generating a URL via google RSS feed but the URL is https and when I tried the GetHTTP processor it is expecting a SSL Context to be set up.

So the questions are a) is there a direct way to pull the data (XML) from twitter through a widget?b) if google RSS is the only way then do you know how to set up GetHTTP’s SSL Context property.

1 ACCEPTED SOLUTION

avatar

If you ever need to connect to a SSL-enabled service, set up a standard ssl context service in NiFi. This will act as a centralized reusable service (you can have multiple). All components which can leverage it will have a prompt in Properties field to either jump to or create one. Read more info here as well:

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.ssl.StandardSSLContextService/inde...

View solution in original post

4 REPLIES 4

avatar

@Adi Gupta you may want to provide additional details on why you you can't use the vanilla GetTwitter processor which I pointed you to in our email exchance

avatar

If you ever need to connect to a SSL-enabled service, set up a standard ssl context service in NiFi. This will act as a centralized reusable service (you can have multiple). All components which can leverage it will have a prompt in Properties field to either jump to or create one. Read more info here as well:

https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.ssl.StandardSSLContextService/inde...

avatar
New Contributor

Thanks Andrew for your reply and point me to the link.

Is the processor GetTwitter 'only' pulls tweets where the 'key' (to filter on) are "currently being used"?

If the 'key' words are not "currently being used in the live tweets" then would Get Twitter NOT pick up such messages?

If the above two points are correct then that is the reason I was trying to get to the route of creating a widget in Twitter and was hoping to pull the data but not sure which processor I should use.

With that said, is there a simpler way to get the tweets which are older using the key words I am trying to use?

@Ali Bajwa, The above mentioned is the reason I was looking for other options to extract older tweets as Get Twitter seems to work only when the 'current' tweets are using the key word I am setting up.

avatar
Master Mentor

@Adi Gupta has this been resolved? Can you post your solution or accept best answer?