Facebook, Social Plugins

What is Social Plugin


Social plugins
Social plugins enable you to provide engaging social experiences to your users with just a line of HTML. Because the plugins are served by Facebook, the content is personalized to the viewer whether or not they have signed into your site.

Simply said: Do you want a page on your site to display a button, a small piece of html code Denglailianjie Facebook Applications So long as the introduction of facebook's API and some fbml aim can be achieved.

  // 116344281725102  Is a facebook application  app id.
  window.fbAsyncInit = function() {
    FB.init({appId: '116344281725102', status: true, cookie: true,
             xfbml: true});
  (function() {
    var e = document.createElement('script');
        e.async = true;
    //e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';
    e.src = 'http://connect.facebook.net/en_US/all.js';

Running a browser to see the results
Facebook, Social Plugins

分类:Internet 时间:2010-05-07 人气:355
blog comments powered by Disqus


  • window.location和document.location的区别分析 2015-01-07

    用户不能改变document.location(因为这是当前显示文档的位置).但是,可以改变window.location (用其它文档取代当前文档)window.location本身也是一个对象,而document.location不是对象 document.location 这个对象包含了当前URL的信息 location.host 获取port号 location.hostname 设置或获取主机名称 location.href 设置或获取整个URL location.port设置或获取U

  • Difference between learning document.location.href and document.location.replace 2010-10-19

    document.location.href and document.location.replace can switch from a page A to page B, but their differences are: Switch with the document.location.href, you can return to the original page. But with document.location.replace switch, not through th

  • Document.location.href和.replace的区别示例介绍 2014-06-09

    document.location.href和document.location.replace都可以实现从A页面切换到B页面,下面为大家介绍下它们的区别 document.location.href和document.location.replace都可以实现从A页面切换到B页面,但他们的区别是: 用document.location.href切换后,可以退回到原页面. 而用document.location.replace切换后,不可以通过"后退"退回到原页面. 关于documen

  • Document.location.href和document.location.replace的区别 2010-03-29

    document.location.href和document.location.replace都可以实现从A页面切换到B页面,但他们的区别是: 用document.location.href切换后,可以退回到原页面. 而用document.location.replace切换后,不可以通过"后退"退回到原页面. 关于document.location.href或其他可回退的切换方式,我还发现一个细节, 用个例子来说明: 假设有A.htm B.htm C.htm三个页面 A.htm里有

  • js document query 2009-10-11

    document text block object - JavaScript scripting language to describe -------------------------------------------------- ------------------- Note: The page name attributes and JavaScript elements cited include the case name must be consistent Otherw

  • document the use of and belongs to class 2010-05-27

    Turn http://hi.baidu.com/edwin5200/blog/item/746c3b10ee8831ffc2ce79e1.html document the use of and belongs to class Note: the page element name attributes, and JavaScript must be consistent references include the name of the case, otherwise an error

  • How to make one DIV fixed location on the page instead of scrolling with the scroll bar at random 2010-10-07

    Here a little summary, it is the use of JavaScript scripts, all from the browser to get the parameters on the location, and then calculated, located in the lower right corner of the form. Can recognize, this method is more natural to do, is also very

  • API to help document publishing tools 2009-07-25

    Quote Data collection work has been done, there are many online HTML page parser, but it is not a lot of help documentation. Because I was doing collection work, the use of the API written by someone else feel not good to use. They therefore develope

  • 3 lines of code to achieve the anti-IP to the location search function 2010-06-22

    1. Features By incoming IP address, location where the return IP. If the incoming "", return "of Guizhou province." Back to the geographical location is divided into three kinds of precision, the program can choose accordin

  • HTML elements to obtain the location - the function 2010-10-27

    // Get the element position function getAbsolutePosition(obj) { position = new Object(); position.x = 0; position.y = 0; position.h = 0; position.w = 0; var tempobj = obj; if (tempobj.offsetHeight + '' != 'undefined') { position.h = tempobj.offsetHei

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 闽ICP备15018612号

processed in 0.036 (s). 13 q(s)