I am using the Twitter API. The Orange widget for Twitter works fine if we do a search by content. However, it throws an error if you search by author.

enter image description here

The error is: Api error(Twitter error response status code = 401)
  • $\begingroup$ i had the same issue, i had generated new api key and pasted it in orange, and issue was solved $\endgroup$
    – user138791
    Aug 2 at 16:01

1 Answer 1


It seems Unauthorized issue. Did you pass in the Twitter key and secret?

  • $\begingroup$ Yes, I did put the right access and secret keys. I could download tweets by selecting content in the search by dropdown box. $\endgroup$ Nov 10, 2018 at 5:41
  • $\begingroup$ I may have found the reason. If you search for @ Hillary Clinton, or @ Donald Trump, it gives and API error. But a new thing has now come up, if I put my @own name in the query, it does a search, but does not disconnect. The search status remains at 100%, and freezes. On stopping it, there is no output. I guess there is some issue with the widget, that needs to be sorted out. Request early resolution from orange. $\endgroup$ Nov 11, 2018 at 6:57
  • $\begingroup$ I have not used orange widget much.. but is there a way for you to limit the depth of search for @ mentions or is it possible to check with hashtags and post the error $\endgroup$
    – Sunil
    Nov 12, 2018 at 5:22
  • $\begingroup$ You can limit the number of tweets that you want by ticking the max no of tweets box and entering a value. As for the hashtags, I have no idea of this. $\endgroup$ Nov 13, 2018 at 16:16
  • $\begingroup$ Can you try with limiting the number of tweets, start with a count of 100 or 1000. It should not freeze. Am just mentioning various debugging options to find the root cause $\endgroup$
    – Sunil
    Nov 14, 2018 at 3:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.