Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4535050
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T14:21:24+00:00 2026-05-21T14:21:24+00:00

Assume there’s a mobile app and a server. I have question about rate limiting

  • 0

Assume there’s a mobile app and a server.

I have question about rate limiting and hoping someone can give some advice on a design as I’m banging my head on how to navigate around rate limit. There must be something I”m missing because the 150 unauthenticated rate limit per IP per hour is extremely low.

Imagine the scenario I want to build is the following (simplified into a trivial example for this discusion). Assume user is signed into Twitter for this entire discussion to remove discussion about oAuth.

Mobile talks to our service to show users twitter friends list. Every time the mobile app is loaded, it will show the entire friends list, and highlighting the new friends that were added within the last 2 days.

That’s it. But the trick is that I want to ensure that the friends list is always up to date in the client, which means our server has to have the most recent up to date friends list.

Periodically, I want my server to automatically scan the Twitter friends list for every user of my app to see if new friends have been added.

Our initial design was getting our server to do all the work with this flow:

  1. New User signs in on client, gives access token to server
  2. Server makes call to Twitter REST APIs to get initial friends lists
  3. Server stores the Twitter Friends IDs and shows responds to the client with that list.

Periodically (e.g. every 48 hours), server checks Twitter REST APIs for friends list for each user and compares it to our cached Twitter friends list we have for them to see who is new and to highlight in the mobile app.

The good thing about this is that all the interaction with twitter to get friends list, compare and peridiocally refresh is on the server. Mobile client just makes a single call to my server and gets friends list.

The problem with this design is that it will work for a single user, but since the rate limit is 150 per hour on un-authenticated calls, I will hit my limit as soon as 151 users user my service (which has a fixed IP).

The only solution I can see is to have the client do the work for each user, then send me the friends list which my server caches. This takes care of Step #2 above. However, for Step #4, I’d have to build something into the client to auto refresh twitter friends and send back to the server.

This is super clumsy to have the client involved at all in this Twitter friends list operation.

At first I thought I was crazy and the public unauthenticated APIs like getting friends lists wouldn’t be subject to rate limiting. However, according to their docs, it is.

Am I missing something obvious or is the only way to solve this is to put heavy logic into the client?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T14:21:25+00:00Added an answer on May 21, 2026 at 2:21 pm

    Since you are making request on behalf of users you should make those requests be authenticated as those users. Then requests will count against each users own pool of 350 requests/hour.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do I have a script run every, say 30 minutes? I assume there
Assume I have created a compiled re: x = re.compile('^\d+$') Is there a way
Assume I have 10 Methods and 10 Properties. Is there a way to add
Since App Engine is so locked down I assume there is no way to
Assume there is a string hexString = 0x12 or 0x45 etc. How can I
I assume there must be a system and language independent way to just stick
Is there any performance difference between the for loops on a primitive array? Assume:
If there are 3 tasks(T1,T2,t3) with priority P1 P2 P3. P1 is pended. Assume
When reading from a IO::Socket::INET filehandle it can not be assumed that there will
Firstly, let me set out what I'd like to do. Assume I have three

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.