Error using Twitty (line 298) Supplied crudentials are not vaild

1 view (last 30 days)
Hello Matlab Community
I want to analyse twitter accounts according to http://blogs.mathworks.com/loren/2014/06/04/analyzing-twitter-with-matlab/ and unfortunately there is already an error at the very beginning: Matlab says that there is an error concerning code line 298 whichs says that the supplied crudentials are invalid.
Happy for any help

Answers (1)

Guillaume
Guillaume on 22 Nov 2016
Matlab is telling you that line 298 raises an error, not because there's anything wrong with that line , but because the credential YOU supplied are not valid.
The way to fix this is simple, supply valid credentials!
  2 Comments
Josef Kilany
Josef Kilany on 22 Nov 2016
thank you guillaume - but I don´t know what valid credentials are? I cannot see the problem.
Guillaume
Guillaume on 22 Nov 2016
Edited: Guillaume on 22 Nov 2016
As per the documentation on twitty's filexchange page: "For details on credentials, type "help twitty" and refer to the sections about PROPERTIES and OBTAINING TWITTER CREDENTIALS."
On the page you linked, Loren also describes how to obtain the credentials (account / password to access twitter api): "To get started with Twitter, you need to get your developer credentials. You also need Twitty by Vladimir Bondarenko. It is simple to use and comes with excellent documentation.
  1. Create a Twitter account if you do not already have one
  2. Create a Twitter app to obtain developer credentials
  3. Download and install Twitty from the FileExchange, along with the JSON Parser and optionally JSONLab
  4. Create a structure array to store your credentials for Twitty"

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!