Hi Gurus,
i am new to talend and my query is to fetch the data from twitter API in talend open studio, i have created my application with all the credentials including token access.
My job include Tinputfilejson file as i/p and Toutputjson as target simply dumping the data into jsonfile but while running my job it failed and below is the error .
Starting job JsonExtracts at 23:21 04/12/2013.
connecting to socket on port 3872
connected
Exception in component tFileInputJSON_1
java.io.IOException: Server returned HTTP response code: 400 for URL:
https://api.twitter.com/1.1/search/tweets.json?q=obama&s=typd&x=22&y=20
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
at tardis.jsonextracts_0_1.JsonExtracts.tFileInputJSON_1Process(JsonExtracts.java:522)
at tardis.jsonextracts_0_1.JsonExtracts.runJobInTOS(JsonExtracts.java:848)
at tardis.jsonextracts_0_1.JsonExtracts.main(JsonExtracts.java:713)
disconnected
Job JsonExtracts ended at 23:22 04/12/2013.
Could you all please suggest if i have to use Tsalesconnection or something for OAUTH in order to connect.
Regards,
Rituraj saxena