LinkedIn Applications Platform

Company Insider

The Company Insider widget is a simple Javascript widget you can place on your HTML pages to show your user how many people they know at any company. You can put the widget on your page as many times as you want and there are three different presentation formats that you can use including popup and always-open options. In general, you can only use one of these formats on each HTML page.

  • Popup

    Popup preview

    The popup interface adds a small IN icon to your page. Clicking on that displays a popover on top of your page content showing the Company Insider widget.

  • Inline with Border

    Inline with border preview

    If you want the Company Insider on your page in its open state, use the inline version. Use this version any time you want to automatically display the Company Insider for every page that opens.

  • Inline without Border

    Inline without border preview

    If you want to build your own popup or have other control over how, where, and when the widget appears, you can use the inline version with no border.

Install the Code

  1. Choose your presentation format from the examples above and then copy and paste ONE of the following in the <head> of your page.

    1. For popup or inline with border:

      <script src="http://www.linkedin.com/companyInsider?script&useBorder=yes" type="text/javascript"></script>
    2. For inline without border:

      <script src="http://www.linkedin.com/companyInsider?script&useBorder=no" type="text/javascript"></script>
  2. Create a <span> tag where you want the Company Insider to appear. The ID you use will be used when you call the Company Insider in step 3 below. You can use any ID you want as long as you reference that ID when you call the Company Insider.

    1. For all presentational formats:

      <span id="bofa"></span>
  3. Call the Company Insider function to create the Company Insider widget where you placed the <span> tag, using the same ID for the first parameter. You will pass the company name in the second parameter. This is the company name the widget shows. You can use multiple words in the company name. If you included multiple Company Insider widgets on your page, you can simply add additional lines to call each of them.

    1. For popup:

      <script type="text/javascript">
         new LinkedIn.CompanyInsiderPopup("bofa","Bank of America");
      </script>
    2. For inline with or without border

      <script type="text/javascript">
         new LinkedIn.CompanyInsiderBox("bofa","Bank of America");
      </script>

Example HTML using the popup method

  <html>
  <head>
  <script src="http://www.linkedin.com/companyInsider?script&useBorder=yes" type="text/javascript"></script>
  </head>
  <body>
  LinkedIn <span id="li"></span> is a wonderful networking tool for professionals.
  <script type="text/javascript">
     new LinkedIn.CompanyInsiderPopup("li","LinkedIn");
  </script>
  </body>
  </html>

Privacy

The Company Insider widget creates an iframe on your HTML page and points the iframe to a page on the LinkedIn server. Because of this architecture, the iframe can pass the LinkedIn cookie back to the LinkedIn server and log in the user. As a developer, you don't have to do anything.

LinkedIn will only be able to "see" the LinkedIn cookie, not the cookie or any content on the host page. Similarly, the host page will not be able to access the LinkedIn cookie or see any information in the widget.

Terms of Use

Use of the widgets is subject to express terms of use in the Widget License Agreement. By using a widget, you agree to abide by these terms.

By using a LinkedIn widget, you are entering into a legally binding agreement with LinkedIn Corporation that includes provisions that:

  1. Allow your use of a LinkedIn widget under certain terms and conditions
  2. Make it clear that your use of the widget does not indicate a partnership relationship with LinkedIn
  3. Make it clear that you can not sell access to the LinkedIn widget, and
  4. Allow LinkedIn to terminate this Agreement and your use of the widgets at any time.

See the LinkedIn Widgets License Agreement for full details.