I'm trying to connect to Facebook using Java Sockets and I get a Http: Bad Request Error.
The hostname I'm using is "facebook.com"
and for the GET request, I have used the following lines.
out.write("GET / HTTP/1.1 \n");
The above lines work when the host is www.google.com or any other website.
So, do I have to change the parameters in the GET request for Facebook.