How to completely integrate Facebook (with Open Graph) into your website

In the last couple of years, a well-known social website Facebook has spread all over the whole Internet. There exist almost 1000 million of user accounts on the website and people  spent there in average 405 minutes per month.