Start here . Basically, you create a website that you want to integrate into Facebook. To do this, your users will need to "log into Facebook" from your site (if they are not already logged in, for example, on another browser tab) and allow your site to perform certain actions on Facebook on their behalf.
Single Sign-On - , Facebook ( Facebook ) .
, Facebook. , , , - publish-stream, , , . div, , ( ) , . .
, , cookie ( PHP Single Sign-On), Graph API, JavaScript SDK, ..