Access Twitter API using Matlab tweety Function

2 views (last 30 days)
Sir,
i have obtain twitter credential according to you instruction. ie.,
tw.saveCredentials()
but i have following error. how to set the credentials. how to search and download tweets using matlab.
??? Java exception occurred: java.io.IOException: Server returned HTTP response code: 400 for URL: http://api.twitter.com/1/account/verify_credentials.json
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
Error in ==> twitty>twitty.callTwitterAPI at 2018 inStream = BufferedReader( InputStreamReader( httpConn.getInputStream ) );
Error in ==> twitty>twitty.accountVerifyCredentials at 1410 S = twtr.callTwitterAPI(httpMethod,url,params,1);
Error in ==> twitty>twitty.saveCredentials at 233 S = twtr.accountVerifyCredentials; kindly help me sir.
thanks in advance.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!