Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Need help with python script to Authenticating to Twitter API

Hi All,

Am new to talend...am trying to connect to twitter to exract data...I've tried with twitter components unfortunately it didn't work for me.So i've decided to try authenticating with python. i need answers for these few questions.

1) what are all required to run a python code to authenticate to twitter.

2) how do i run a piece of python code in talend.(not locally )

 

Any other twitter authentication and data extraction ideas are also welocme!!

 

 

Thanks,

naresh

 

 

 

Labels (2)
3 Replies
Anonymous
Not applicable
Author

What component have you tried ? If you have tried tTwitterInput from open studio, that is customize component not part of our standard stack.

 

There are multiple ways to achieve this:

 

1) Use 3rd party application (twitter live) to read\write twitter messages into kafka topic, then use talend in below way to consume twitter messages on real time basis. Check attached screenshot.

 

2)

For data extraction from twitter, you need to understand Twitter API. Use that API in Talend tESBConsumer component or tRestRequest component to extract data. 


twitter_Talend.JPG
Anonymous
Not applicable
Author

Thanks jain for your reply,

 

I can't see any screenshot.could you please reattach.

 

Yes i've used tTwitterinput component.

 

Let me try the point the number 2

 

 

 

Anonymous
Not applicable
Author

Please check attachment again.