Click here to Skip to main content
15,890,717 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
if facebook.com is blocked on a local machine then facebook like button is not loading..
Posted
Comments
Shubhashish_Mandal 1-Aug-13 3:15am    
You have the answer of "why"
Prarthna88 1-Aug-13 3:25am    
yes.. i know fb is blocked that's why its is not loading.. but it keeps my window in processing stage..
now i want the code which first check that if facebook is accessible then only load fb like button otherwise.. show a msg that you have not facebook access and for the same you can not like us on facebook.
Shubhashish_Mandal 1-Aug-13 3:56am    
I never did it but this may help you

http://stackoverflow.com/questions/6246449/facebook-how-to-check-if-user-has-liked-page-and-show-content

also check this
http://stackoverflow.com/questions/8205198/detect-with-javascript-that-a-script-is-blocked-by-web-filtering-firewall-etc
Prarthna88 1-Aug-13 4:06am    
thanx for ur support but i think it is to test whether user has liked or not and then depending upon that it perform some action..



1 solution

If facebook is blocked then you are right, the like button will not load.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900