can you please tell me How to configure twitter in nifi to get the data
I'm assuming you are trying to configure the GetTwitter processor in NiFi? If so there are many articles in HCC that have examples for how to set up the processor. For example:
There are also ones that cover troubleshooting:
If those aren't helpful, please let us know the specific issue you are encountering.
I am not aware of a video for configuring GetTwitter. Assuming you have your Twitter API Keys and Tokens it is a pretty straightforward process. If you don't have them check this out: https://www.slickremix.com/docs/how-to-get-api-keys-and-tokens-for-twitter/
Here is a configuration for GetTwitter with "Filter Endpoint" selected, filtering on the word "apache":
Here is a simple flow using the GetTwitter processor:
If you'd like to import into your NiFi to try out, here is a template of the flow: gettwitter.xml
Remember to change the Key and Token values to your own.