<a href=” http://pavelk2.github.io/social-feed/ “target=”_blank”> Repositório de feed social </a>
Social-feed é um plugin jQuery que exibe mensagens por um nome de usuário ou uma hashtag das redes sociais mais populares.
Suporta Social-feed:
<a href=” http://facebook.com”> Facebook </a>,
<a href=” http://instagram.com”> Instagram </a>,
<a href = ” http://vk.com “> VK </a>,
<a href=” http://plus.google.com”> Google+ </a>.
<script>
$('.social-feed-container').socialfeed({
//FACEBOOK--------------------
facebook:{
accounts:['@teslamotors','#teslamotors'],
limit:2,
access_token:'YOUR_FACEBOOK_TOKEN' // go to https://developers.facebook.com/tools/explorer/ to get one
},
//VK--------------------
vk:{
accounts:['@125936523','#teslamotors'], //id for users and -id (with minus) for groups
limit:2,
source:'all'
},
//GOOGLEPLUS-------------------
google:{
access_token: 'YOUR_GOOGLEPLUS_TOKEN', // go to https://console.developers.google.com/project, create project, allow Google + API, go to credentials and create an access token for browser use
accounts: ['#teslamotors'],
limit: 2
},
//INSTAGRAM---------------------
instagram:{
accounts:['@teslamotors','#teslamotors'],
client_id:'YOUR_INSTAGRAM_CLIENT_ID', // go to http://instagram.com/developer/clients/manage/, create app and copy your client_id
limit:2
},
//GENERAL SETTINGS--------------
length:130,
show_media:true,
callback: function(){
console.log('all posts are collected');
}
});
</script>
O feed social está sob licença do MIT.