The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Twitter operators and their rate limits

sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
edited December 2018 in Knowledge Base
Screen Shot 2018-07-06 at 3.14.38 PM.png

People often encounter errors when using the Twitter operators (Search Twitter, Get Twitter User Statuses, Get Twitter User Details, and Get Twitter Relations) and/or are not sure how they work. It is really no great mystery - they are nothing more than RapidMiner wrappers for the standard free version of the Twitter REST API:

 

Search Twitter operator -> https://developer.twitter.com/en/docs/tweets/search/overview

Get User Statuses, Details, Relations -> https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/overview

 

There is a lot more functionality in the Twitter REST API suite; the four queries that RapidMiner provides are simply the ones we felt would be most useful to the most users.

 

As for rate limiting, the four RapidMiner Twitter operators have daily query limits that are managed by Twitter, not RapidMiner. I will summarize the ones that control the four operators here, with the caveat that these are completely subject to change by Twitter and are only effective as of this date (July 2018):

 

Search Twitter 450 queries per 15 minute window (one row of data = one query)
Get Twitter User Status 900 queries per 15 minute window (one row of data = one query)
Get Twitter User Details 900 queries per 15 minute window (one row of data = one query)
Get Twitter Relations 15 queries per 15 minunte window (one row of data = one query)

 

 If you want more queries than are allotted here, you should go to their "Premium Services" API which is beyond the scope of this brief KB. :)

 

Hope this helps!

 

Scott

 

Tagged:

Comments

  • SaJamSaJam Member Posts: 1 Learner I
    I need help with the premium API could you help me to integrate rapidminer?
  • sgenzersgenzer Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
    hi @SaJam - so you have paid for the premium API service? Interesting. Twitter has changed a bunch of things since that blog post was made so actually I'd be interested in seeing how the premium service works. But you need to find the documentation to the API - I think this is behind the paywall if I remember correctly. Also I would strongly recommend getting a license to the Web Automation Extension (https://oldworldcomputing.com/en/webautomation-extension/) as you'll be doing a lot of queries and JSON parsing.

    Scott

  • NabatuNabatu Member Posts: 3 Learner II
    edited July 2023
    hii @sgenzer can you help me please

Sign In or Register to comment.