Ethernet and facebook

For example connect to graph.facebook.com/someID and get the whole thing as plain text

So, do it. The "plain text" will likely be HTML, but HTML is text.

Now the problem I have is that I can´t connect properly.

We can't see your code. We can't see the output, if any, that your program produces. And, yet, you'd like us to use our crystal balls to tell you what the problem is.

I think we need just a bit if a hint. Or more.