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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T20:34:59+00:00 2026-05-29T20:34:59+00:00

Im working for a company who’s website uses javascript to get facebook and twitter

  • 0

Im working for a company who’s website uses javascript to get facebook and twitter info and shows it in the footer. The issue is that it loads javascript APIs from these websites which can seriously slow loading times. The twitter API is used to filter out @replies and retweets. The facebook is a likebox.

If I was making the site from scratch I would import the tweets into a CMS and use PHP to filter out the retweets and @replies. As the html could be cached I think this would be the fastest solution. For the facebook profile pics im not sure if this could be handeld by a CMS so easily.

However the way the website is built there’s no PHP etc that I can use to do this so im looking for a work around.

As twitter has an RSS feed of tweets, I recon I could grab these tweets with javascript, filter @replies and retweets, then insert them onto the page. This is whats currently happening but I could do it without the Twitter API.

Another option is to create a separate site which is a CMS to import the tweets, filter them with PHP, and serve them up as html with appropriate caching for speed. Then I could include this page into the main site’s footer with an iframe. Ive heard bad things about iframes but I know google maps and adverts can be embedded with them and it doesn’t seem to cause any issues if done right.

Are their any issues with these solutions? Has anyone had to solve the same problem with the facebook like box?

Thanks

  • 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-29T20:35:02+00:00Added an answer on May 29, 2026 at 8:35 pm

    iframes can solve a lot of issues. Web designers tend to avoid them because they are not scalable an can cause visual issue and accessibility issues for screen readers.

    Are you looking to just add a facebook like button without using their API? You can do this by getting an App ID (your company most likely has it) and then writing your link using their query string.

    Create a variable that lists the URL and use encodeURIComponent

    var FLike=" http://www.facebook.com/dialog/feedredirect_uri=THE_URL&app_id=YOUR_APP_ID&link=THE_URL_YOURE_LINKINGTO&name=TITLE_YOU_WANT_TO_DISPLAY"; document.write(encodeURIComponent(uri));
    

    Then, use a simple JavaScript function to make it a popup (if you want)

    function Like() 
    { 
    window.open("FLike","Facebook","width=700,height=300,toolbar=0,resizable=0"); 
    } 
    

    And have an image (the like button) with an onClick event. This is a good work around if you don’t want to use their like button design as well.

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

Sidebar

Related Questions

I have a website that my company hosted using hubspot.. now the guy who
I'm working at a company that uses SCCS internally for developing it's main application.
The developer who created a platform my company uses is no longer working for
I recently got a job working for a company who uses several programming languages
I am working with a small company who is slowly moving to MS access.
I'm an emacs user who just started working for a new company where eclipse
I am working in a company that develops computing kernels. Their design is simple
I'm working for a company that has strict coding style guidelines but no automatic
I'm working at a company that does several releases to production every year and
My company has been working on a Flex dashboard that displays realtime financial information.

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.