Social Media Loader

Loader scripts for Social Media

These script samples will provide an example of how to load social media embeds into your stream. Whether loading a single post – or creating a combined post by dragging content into the Rich Text Editor, you can use our API to display a variety of social media posts.

  • Twitter – Single Post
  • Facebook – Single Post
  • Instagram – Single Post
  • Combined posts

…………………………………………………………………………………………………………………..

Twitter – Single Post

Note: Remove the asterisks in <*script> tags before testing this code.

<*script>window.twttr = (function(d, s, id) {
		  var js, fjs = d.getElementsByTagName(s)[0],
		    t = window.twttr || {};
		  if (d.getElementById(id)) return t;
		  js = d.createElement(s);
		  js.id = id;
		  js.src = "https://platform.twitter.com/widgets.js";
		  fjs.parentNode.insertBefore(js, fjs);

		  t._e = [];
		  t.ready = function(f) {
		    t._e.push(f);
		  };

		  return t;
		}(document, "script", "twitter-wjs"));<*/script>

>

>

>

>

Additional Information / Links

…………………………………………………………………………………………………………………..

Facebook – Single Post

Note: Remove the asterisks in the <*div> and <*script> tags before testing this code.

<*div id="fb-root"><*/div>
		<*script>(function(d, s, id) {
		  var js, fjs = d.getElementsByTagName(s)[0];
		  if (d.getElementById(id)) return;
		  js = d.createElement(s); js.id = id;
		  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.7";
		  fjs.parentNode.insertBefore(js, fjs);
		}(document, 'script', 'facebook-jssdk'));<*/script>

>

>

>

Additional Information / Links

…………………………………………………………………………………………………………………..

Instagram – Single Post

Note: Remove the asterisks in <*script> tags before testing this code.

 <*script async defer src="//platform.instagram.com/en_US/embeds.js"><*/script>

>

Come and check out the infamous ScribbleLive swings tomorrow (4-7pm) at the Startup Open House #soh2015

A post shared by scribblelive (@scribblelive) on

>

>

Additional Information / Links

…………………………………………………………………………………………………………………..

Combined Posts

Combined posts can be posts with multiple social embeds, or a single embed with additional text from the Rich Text Editor.

>

Come and check out the infamous ScribbleLive swings tomorrow (4-7pm) at the Startup Open House #soh2015

A post shared by scribblelive (@scribblelive) on

>

>

  • Script-Setup: Combined posts use the same scripts as the single posts
  • Twitter: Blockquote for Twitter is provided in the returned content
  • Facebook: Blockquote for Facebook is provided in the returned content
  • Instagram: