The first step is to get their permission, and then I suspect they will supply the code. But it is just Javascript and you can see that by looking at "View Source" for any CNET web page.
Mark
how do you setup facebook login for your website - like hows its in cnet?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic