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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:52:39+00:00 2026-05-21T18:52:39+00:00

Hi i got a working facebook like button. However, facebook is blocked by my

  • 0

Hi i got a working facebook like button. However, facebook is blocked by my company thus my facebook button has been replace with a big company logo saying this is blocked.

How could i resolve this and give more confident to my user? I thought of this
1) When it detect the object is blocked by proxy, then hide the object(facebook button).
2) Reduce the size of the blocked image which has replaced the facebook like button.

Could you advice?

  • 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-21T18:52:40+00:00Added an answer on May 21, 2026 at 6:52 pm

    Here’s a slightly different approach that I suggested to someone recently having the same issue. If Facebook is blocked, the ‘like’ button serves no purpose on the page. You can’t see how many likes and you can’t interact with it, so why display it at all?

    This little piece of Javascript detects whether Facebook is blocked by attempting to load an image from Facebook’s servers. If the image cannot be loaded, we add a class to the body tag which hides the iframe.

    Demo: http://jsbin.com/iguhu5

    Try editing the URL by adding in a character, thus creating a 404, and see the iframe disappear.

    Also, you could easily adapt this method to perform a slightly different task – displaying a message, for example.

    Oh, and to be completely thorough, I should mention that there is one small caveat. If your company blocks ‘facebook.com’, but not its asset/CDN servers then you could potentially see the iframe even though Facebook would be blocked.

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

Sidebar

Related Questions

HI I have got Facebook Connect working with a functional login and logout button.
Has anyone got this working in a web application? No matter what I do
I installed TeamCity and got it working against my project. However, I have since
Given that django-nonrel has got JOINs working, does this mean we have M2M fields
I got Facebook Connect working and all and it's loading up the user's friends
Working with the Facebook API makes my ears bleed, but nonetheless I've got a
I'm working on a Facebook app that uses Facebook groups, and I'd like to
I am working an a test page to get the Facebook login button functionality
I'm working on a Facebook-like status update using jquery in Codeigniter. So far, I've
Recently I'm working with the Graph API of facebook and I got the authentication

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.