Skip to content

Instantly share code, notes, and snippets.

@retran
Created November 12, 2012 12:33
Show Gist options
  • Save retran/4059114 to your computer and use it in GitHub Desktop.
Save retran/4059114 to your computer and use it in GitHub Desktop.
Бредовый фейсбучный код
<iframe class="socialFaceBookLike" id="faceBookLikeFrame" src="http://www.facebook.com/plugins/like.php?locale=ru_RU&app_id=356393701111458&href=http%3A%2F%2Fwww.ozon.ru%2Fcontext%2Fdetail%2Fid%2F18096863%2F%3Fitem%3D18096859&show_faces=false&ref=like&font=verdana&send=false&layout=button_count" frameBorder="0" scrolling="no">
window.fbAsyncInit = function () {
// init the FB JS SDK
FB.init({
appId: '356393701111458', // App ID from the App Dashboard
channelUrl: '@ViewBag.PageHref', // Channel File for x-domain communication
status: true, // check the login status upon init?
cookie: true, // set sessions cookies to allow your server to access the session?
xfbml: true // parse XFBML tags on this page?
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment