Home >

Example 2 - Multiple Feeds

There are no limits on the number of feeds 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, a twitter list and a search into one single feed:

  • User 1: designchemical
  • User 2: wordpress
  • User 3: jquery
  • List ID: /9927875
  • Search Term: #designchemical

jQuery Code

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

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 Dark









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