Does anyone know how i can access Facebook page sources with php using WAMP Server? I tried the following lines but they kept bringing me to some Facebook page telling me to "Update Your Browser".

$hey = fopen("somefacebookaddress", "r");
while (!feof($hey))
$line = fgets($hey);
echo $line;

However, i know its not a browser problem because i can access Facebook normally on my computer and the exact same lines work when i use an online hosting service.

Please help me!! Thanks in advance!