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 557427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:01:30+00:00 2026-05-13T12:01:30+00:00

I want to display a user’s latest Tweets on a webpage while maintaining the

  • 0

I want to display a user’s latest Tweets on a webpage while maintaining the ability to style the Tweets with custom CSS and also maintaining good page load speed.

I have managed to display the latest Tweets in 2 ways.

  1. Using the PHP Twitter library (by Aaron Brazell). By using this method, my PHP code has to wait for a response from Twitter before my page can be completed and sent to the client. This could cause the page load time to be quite unpredictable and more than likely slow down the page load enough to be annoying to users.

  2. Using the Blogger Twitter Widget, the latest Tweets are loaded using JavaScript after the rest of the page has loaded. This way user’s don’t have to wait for Twitter response before they can view the page.

I would like to know if there are any other pro’s and con’s to using these different methods to display a user’s latest Tweets, and also if there is perhaps another solution I can look into which will enable custom CSS styling and provide good page load performance?

Also, how do these 2 methods influence the way Twitter applies Rate Limiting? Using PHP I can cache the Tweets and therefore make fewer calls to Twitter, while using JavaScript this is not possible as far as I know?

  • 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-13T12:01:31+00:00Added an answer on May 13, 2026 at 12:01 pm

    You can have custom CSS styling in both ways, so this shouldn’t be a problem

    1. when using PHP api, try to cache all the info you need and put it in eg. Database (and query twitter every 5-10 mins., or run update script through cron – since I last checked there is a limit on queries in twitter you can perform on a specific time basis)

    2. by using Javascript to update tweets you disable web spiders to index these tweets on your page (also disabled people usually don’t have JS enabled… )

    EDIT

    Also note, that you will need more PHP coding to implement caching, but this is a very nice coding experience (on the other hand it is easy to implement a JavaScript script to fetch such things as updates from twitter)

    Twitter API Rate Limiting

    As read on twitter.api: Twitter limits REST requests to 150 requests/hour (using IP based rules or counting requests for authenticated API usage)

    GET requests like fetching twitter feeds, timelines through rest api do count

    POST requests like updating statuses do not count

    Account rate limit status available at http://twitter.com/account/rate_limit_status.format where you can check how many request you can do in specified time limit

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

Sidebar

Related Questions

I want to display the user with the most posts. the posts are added
I want to display to the user a message that says please enable JavaScript
i want to display friends of a user who are currently logged in.
I have a List of about 20 items I want to display to the
I'm building an asp.net page that is designed to display links for a user
In my android app, I show some users in a ListView. I want to
for the first time i came across try, throw catch statement in PHP, and
I've created an app that I'm going to be using as an iframe app
I'm not sure if this is possible in SQL, and if not I'll do
i've made to diferent forms for my backend app, one for users of group

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.