Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Cannot access Facebook via Mountain Lion

Running 10.8.2 on a MBP 5,1. At first, I had no trouble. At some point, I became unable to access facebook from any browser- chrome, safari, or firefox. Chrome gives the response "This webpage is not available. Google Chrome could not load the webpage because www.facebook.com took too long to respond. The website may be down, or you may be experiencing issues with your Internet connection." i.e. the response I'd expect to get from any url without an internet connection. However, I can access Facebook just fine in Windows 7 via bootcamp and iOS. Other variables- I had a Facebook related extension called social fixer installed on chrome, but doubt this is the problem. Firefox and safari did not have the extension, and did not work either. In Windows 7, I kept the extension, and facebook still worked. I did a bit of research and really couldn't find much on this problem. Tried a few simple things, clearing cache, cookies etc., rebooting... no dice. Help appreciated! Thank you in advance!

MacBook Pro, OS X Mountain Lion (10.8.2)

Posted on Dec 20, 2012 11:16 PM

Reply
22 replies

Dec 21, 2012 3:02 AM in response to Andrew Heckler

Just disable all the extensions in Safari first.


Then, if you can get to Facebook, renable them one by one and test after each till you can't get to Fb anymore. Then you know the culprit.


If after disabling all the extensions Fb is still unavailable, go to


/Library/Internet Plug-ins


and move everything out of that folder to a Temp folder on your desktop.


Restart Safari and see if the problem's solved. If yes, move those items back in one at a time and test after each till the problem recurs.


🙂

Dec 21, 2012 11:04 AM in response to Andrew Heckler

If you have the same problem in all browsers, then obviously it has nothing to do with Safari extensions, which can only affect Safari.


Launch the Network Utility application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Network Utility in the icon grid.


Step 1


Select the Lookup tab and enter


www.facebook.com


in the address field. Press return. Post the output – the text, please, not a screenshot.


Step 2


Select the Ping tab and do the same.

Dec 21, 2012 3:31 PM in response to Linc Davis

Thank you Linc. Hopefully these tests can provide some insight.

Step 1- Lookup


Lookup has started…


Trying "facebook.com"

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30590

;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 3


;; QUESTION SECTION:

;facebook.com. IN ANY


;; ANSWER SECTION:

facebook.com. 39312 IN TXT "v=spf1 redirect=_spf.facebook.com"

facebook.com. 6770 IN A 173.252.100.16

facebook.com. 21153 IN NS b.ns.facebook.com.

facebook.com. 21153 IN NS a.ns.facebook.com.

facebook.com. 288 IN MX 10 smtpin.mx.facebook.com.


;; ADDITIONAL SECTION:

a.ns.facebook.com. 17260 IN A 69.171.239.12

b.ns.facebook.com. 17346 IN A 69.171.255.12

smtpin.mx.facebook.com. 85 IN A 66.220.155.11


Received 201 bytes from 192.168.2.1#53 in 25 ms


Step 2- Ping

Ping has started…


PING www.facebook.com (69.171.228.74): 56 data bytes

Request timeout for icmp_seq 0

Request timeout for icmp_seq 1

Request timeout for icmp_seq 2

Request timeout for icmp_seq 3

Request timeout for icmp_seq 4

Request timeout for icmp_seq 5

Request timeout for icmp_seq 6

Request timeout for icmp_seq 7

Request timeout for icmp_seq 8


--- www.facebook.com ping statistics ---

10 packets transmitted, 0 packets received, 100.0% packet loss

Dec 21, 2012 4:49 PM in response to Andrew Heckler

Then it's a problem with your ISP's servers. You can bypass them by entering the public DNS servers of your choice, either in the router (in which case all devices on the network will use them) or in the Network preference pane (in which case only that Mac will use them.) For example, you could use Level 3 DNS:


4.2.2.1

4.2.2.2


That's an example, not an endorsement. There's a slight chance your ISP might block those servers, in which case you'll have to use something else.

Dec 21, 2012 5:10 PM in response to Linc Davis

Here's a curveball- I also cannot access facebook when I use my iPhone as a hotspot, and thus from a different IP address (whether it's Wi-Fi, bluetooth or USB connection). Also, I couldn't access facebook via a different ISP (Time Warner) in Los Angeles, and I am now in Chicago on Comcast having the same problem. Which leads me to believe it's a problem with some kind of file(s) on this computer, and not an ISP failure. Let me know what you think. Thanks.

Dec 21, 2012 6:34 PM in response to Andrew Heckler

The hosts file has been modified.


By far the easiest way to fix the hosts file is to restore it from a Time Machine (or other) backup that predates the modification. If that's not possible, then do as below. Please read this whole message before doing anything.


Back up all data.


These instructions must be carried out in an administrator account, if you have more than one user account.


Launch the Terminal application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.


Copy or drag — do not type — the line of text below into the Terminal window, then press return:


sed '/lo0/q' !$ > Desktop/hosts


You should now have a file named "hosts" on your Desktop.


Next, enter one more command, again without typing:


sudo sh -c 'cat Desktop/hosts > /etc/hosts'


This time, you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. Confirm. Quit Terminal.


Do not type anything in the Terminal window except your password.


That will fix the hosts file. You can now delete the file that was created on your Desktop.

Cannot access Facebook via Mountain Lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.