I have created a API in Twitter. The orange widget twitter works fine if we do a search by content. But, it throws up an error if you search by authorenter image description here

The error is: Api error(Twitter error response status code = 401)

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

  • Yes, I did put the right access and secret keys. I could download tweets by selecting content in the search by dropdown box. – Arvind Prasad Nov 10 at 5:41
  • 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. – Arvind Prasad Nov 11 at 6:57
  • 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 – Sunil Nov 12 at 5:22
  • 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. – Arvind Prasad Nov 13 at 16:16
  • 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 – Sunil Nov 14 at 3:59

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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