I am about to implement a website for a client who is active on social websites, and would like to display some social activity on his website, however I know that social API’s can cause slow loading times.
Main ones to to include…
1) Facebook ‘like box’
2) Recent twitter tweets
3) Recent Instagram photos
What would be the best way to implement these, so that the performance is not affected?
Are there alternatives to these widgets so that they only load once they’re interacted with?
Or are these just best avoided and use simple social buttons instead to link to the sites?
– rtsocial is different in that it uses a giant sprite for its images and doesn’t download any images from the social networks (ie, facebook, twitter). It just grabs the share stats and rebuilds the the structure from scratch. It’s a pretty sophisticated way of doing things. You’ll want to check out how it deals with facebook likes vs shares. I think they’ve implemented one over the other, so be mindful of that.
I’ve used all of them, but prefer async AddThis. I like having analytics share data. If you’re using WordPress, rtSocial may be the fastest as it downloads far less resources and uses an image sprite which cuts down on header requests considerably.
They all work pretty well.
– I don’t know if this is async or not. It doesn’t mention it, as far I remember when I tested it out. But it’s a very slick social sharing plugin. One of the nicest I’ve seen on the WordPress Plugin site.