Home >

Example 2 - Multiple Profiles

There are no limits on the number of users that can be added to the social stream for each social network. To add multiple profiles include the relevant social network IDs as a comma-separated list.

The following example creates a social stream, which combines 3 twitter users into one single feed:

  • User 1: designchemical
  • User 2: wordpress
  • User 3: jquery

jQuery Code

$(document).ready(function($){
	$('#social-stream').dcSocialStream({
	feeds: {
			twitter: {
				id: 'designchemical,wordpress,jquery'
			}
		},
		twitterId: 'designchemical',
		iconPath: 'images/dcsns-dark/',
		imagePath: 'images/dcsns-light-1/'
});

HTML

<div id="social-stream"></div>

The social stream is inserted into the "social-stream" div tag when the page loads.

Note:

To set up your Twitter API credentials see Social Networks Details -> Twitter API Credentials.

Demo Light









한국온라인광고연구소, 오두환, 광고의8원칙, 광고기획사, 온라인광고회사, 온라인광고업체, 마케팅컨설팅, 브랜드컨설팅, 병원컨설팅, 인터넷광고, 광고마케팅, 언론홍보대행