pavelk2 / social-feed Goto Github PK
View Code? Open in Web Editor NEWJavaScript plugin that shows a user feed from the most popular social networks
Home Page: http://pavelk2.github.io/social-feed-example/
License: MIT License
JavaScript plugin that shows a user feed from the most popular social networks
Home Page: http://pavelk2.github.io/social-feed-example/
License: MIT License
Change href attribute to the post url and not the account one
Instagram photos won't show with username, only with hashtag. There might be a problem getting the user id from username. Works when using the numeral user id with the getImages function.
Add a ',' in line no 53
Show the date of the post, add a "muted" class to it
Thanks
Hi Pavel,
Firstly i really like the social feed tool and think it is very useful.
I have tested it on my local machine and it works fine with the Obama example but when i add my own username and token it doesn't work.
Can there be a cache issue? or is there a time delay when a new token is created?
I know the user name and token is correct as when i manually enter the URL the feed gets displayed, if you could please let me know what is causing the issue i would be most grateful.
p.s. here is the URL link of the FB feed to prove the token is correct
https://graph.facebook.com/therakuman/feed?&access_token=240696342763428|FgHgjfn7wWMNT15ONHP0tVdWm_k
/// Update ///
I have now released what the issue was and that instead of putting my username i had to put my first name then a dot and then my last name to pull out the feed.
Can i ask why it will not work with my username??
My username feed is pulling in the correct info where as my name does not but simply show 2 post is it something to do with my Facebook settings? if so can you please advice
Hi,
I tried your script and there is an error on facebook hashtag.
The returned error is:
"error": {
"message": "(#11) Post search has been deprecated",
"type": "OAuthException",
"code": 11
}
I think your plugin use the version 1.0 of the graph api.
Can you upgrade to the newest version 2.1?
Thank you
Make possible rendering a separate html template for the post
apply new UI, similar to this one https://www.dropbox.com/s/pllyh4oxb68rnqd/Screenshot%202014-06-26%2021.51.28.png
It would be very nice to have a global success callback when all items are loaded across all social channels.
I'm my example I would like to put the social feed in to the owl carousel: http://owlgraphic.com/owlcarousel/ which only be successfully initialized when all elements are present.
Could you implement displaying images that are in facebook posts. Currently it displays the image info or text relating to the image but not the image.
I suggest you to write a fluid grid template for the feed. How'd you like it? It may look like http://wall.cosmic-gate.de
I think it's awesome and you could add this template to your project.
Thank you!
I noticed the demo code and when I downloaded the code it does not seem to be finding any tweets yet there are plenty of elonmusk tweets
Not sure if this more like codebird.js issue, but seems at the moment Twitter feeds are not retrieved in every page refresh in social feed.
Console is not giving any error, but still Twitter feeds do not show up. It can be even reproduced on your http://pavelk2.github.io/social-feed/ page. Sometimes it shows twitter feeds and then it wont :(
Please, add a feature to show items from social networks by hashtag. TIA
I've attempted pulling the feed from multiple pages and users.
posts?ids=meteorologistgregdee,steveadamsonkark,ChiefKeithMonahan&limit=5
feed?ids=meteorologistgregdee,steveadamsonkark,ChiefKeithMonahan&limit=5
Although those will work within the graph api explorer, it seems that either users or pages are not working.
hi! does it support comments under posts (buttons, count, etc. )?
Clean js, css (unnecessary repeats), reduce icon sizes
I have tried the demo, but its not working.
Isn't it dangerous to publish access tokens?
$(document).ready(function(){
$('.social-feed-container').socialfeed({
//FACEBOOK--------------------
facebook:{
accounts:['simplepickup'], //usernames or id
limit:8888,
token:'240696342763428|FgHgjfn7wWMNT15ONHP0tVdWm_k' //you can also create an app and put here your 'APP ID|APP SECRET' - it is easier but not safe
},
//GENERAL SETTINGS--------------
length:130,
show_media:true,
callback: function(){
console.log('all posts are collected');
}
});
});
So with this code the plugin must have pulled more than 1 year of feed. But it pulls only upto 3 moths or 300 feed items.
Any reason why ?
Many thanks
i am already working on this and i ll push it when is ready to a branch
The method used to get the twitter feeds will be deprechated in the 1.1 API (not fully but will require authorization).
https://dev.twitter.com/docs/api/1/get/statuses/user_timeline
Any idea to replace this method?
fix the problem otherwise the sorting does not work in IE.
Validate the message cut function
Нужно сделать добавление двух или более соц. аккаунтов в social-feed
Photos from posts are shown under each text. To be amended so that they are shown only on mouse over or by clicking on "view"
Hi pavelk2!,
fisrt of all, thanks for this great plugin, works pretty well!
In the facebook part ....is there a way to show the wall post only?... right now are displaying all the activity in the fanpage and we need, for now, to display the post made it by the owner and nothing else.
thanks so much!
@pavelk2 what is the license for the code?
Would love to have a feature where you could have realtime updates from facebook twitter mainly.
Any information you may have on this would be much appreciated.
Cheers.
Hi, great plugin!
I found a small bug but this is maybe related to "moment.min.js" - On Firefox when displaying tweets it always says "a few seconds ago" even if the tweet has been posted 2 days ago. When viewing the same page in Chrome or IE the correct date appears. Is this a known bug?
Thanks,
Alex M.
Are u planning to migrate to the new Twitter API 1.1? 'cause the 1.0 will be deprecated by end of this month :(
Cheers
I think it would be great for this project – background feed refresh without page reloading. Add this feature please.
If there are no any messages for some account - callback function will not be triggered
If there is a link in the post, it comes up as undefined
if your filter is only the number of feeds, there can be case that you "lose" to display some feeds.
the correct way is to filter from a specific time to another (preserving the limit of feeds)
i am working on this and i ll submit any result.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.