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

  • Home
  • SEARCH
  • 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 389735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:53:45+00:00 2026-05-12T15:53:45+00:00

I am developing an Twitter4J web application in Google App Engine/Java. I need to

  • 0

I am developing an Twitter4J web application in Google App Engine/Java.

I need to show two lists. One is Twitter friends and other is followers. With photo and screen name.

It is working fine for people who have 20-30 followers and friends. But it gave me DeadlineExceededException when I try a user who has 150+ followers and friends.

GAE throws this exception if web request take time more than 30 seconds.

So what techniques I can adopt to avoid this exception.

Should I generate two AJAX calls for each of my list. After page loads. So that every call will have its own 30 secs limit?

Or what else you think? I am gone make it.

Please help.

  • 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-12T15:53:46+00:00Added an answer on May 12, 2026 at 3:53 pm

    Not sure if you intend to query all followers/friends at once (it would be a problem with the Twitter api rate limit for people with a very large number of followers/friends anyway). So I assume you query the Twitter api for a limited number of followers/friends, and using the Twitter paging to get more as needed to show.

    My solution would be, and it also something I’ve implemented for Twitter, is to do the statuses/friends and statuses/followers from the browser. This is possible via JavaScript by adding a html <script> tag with the status url and the callback function in the browser. This bypasses GAE as proxy. This not only avoids the timeout problem on GAE it also reduces the number of calls/cpu-time in GAE, which means it will be cheaper if your applications scales up, above the free GAE limit.

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

Sidebar

Ask A Question

Stats

  • Questions 204k
  • Answers 204k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You want xargs. Without a for, while, or until loop… May 12, 2026 at 8:46 pm
  • Editorial Team
    Editorial Team added an answer I'd advise to figure out all the features you will… May 12, 2026 at 8:46 pm
  • Editorial Team
    Editorial Team added an answer ready(fn) is a special function in JQuery that can be… May 12, 2026 at 8:46 pm

Related Questions

Preamble To build dynamic web-sites, we have to master at least four languages: HTML
I've been looking at examples of REST API's like Netflix http://developer.netflix.com/docs/REST_API_Reference#0_59705 and Twitter and
I am developing an application to install a large number of data files from
I am developing an application, and have URLs in the format www.example.com/some_url/some_parameter/some_keyword . I
I am developing an online strategy game using .Net v2. Although the game is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.