How does SEOMoz Code its Social Badge on Blog
-
On the blog section (and most other pages of the site) there is a social badge on the right hand side of the page where it shows the number of followers on Twitter, FB fans, etc.
How does SEOMoz pull those numbers? It seems like its not using the normal Javascritps supplied by FB and Twitter, Feedburner.
Thanks
-
Thank you guys. This was great. I'm definitely going to roll it out to all my sites.
-
We pull the numbers via javascript. If you check out posts.js when you are on the blog you can see where we make a call to Facebook and to Twitter to get those numbers. We also have hard coded the numbers at specific dates just in case it fails so there is a number present.
For the feedburner numbers we do those server side and ping the feedburner api and cache it. So there is one unlucky sole every hour that has to ping feedburner to recache the number.
-
Those numbers show up in the HTML, so they're likely calculated server-side in some way.
Feedburner (RSS feed provider), Twitter, and Facebook all have an API of some sort to grab the content from. Moz appears to use bronto.com to deliver their Top 10 email, so that's probably where they're getting the email subscriber count from.
Here's a tutorial to get you started on pulling content from Facebook/Twitter/Feedburner. Since it appears that your personal website uses Wordpress, I'll use that as a reference:
http://www.problogdesign.com/wordpress/how-to-get-facebook-twitter-and-rss-counts-wp/
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Social Media / Articles
Hi Mozzers, I have a couple of questions regarding starting out into social media with an e-commerce website. Most of my experience lies in niche content where a social media following is more natural. Having completed most of the site audit (at least the planning). Its time to begin planning the next move into writing articles on the blog and heading out into social media to facilitate link building whilst i finish off creating the last of the updated website content. I have plenty of subjects I can think to write about and many keywords to target with articles on the website. But I could do with some advice linking this into social media. We have youtube, google+, facebook and twitter accounts but all of them are inactive bar profile information and have almost no following. We sell technical measurement equipment across a selection of niches. My plan is as follows so far, 1. Write 5-10 amazing new articles across the selection of products
Social Media | | ATP
2. Link to them all on each social media platform to begin populating each with content
3. Populate the website homepage with links to all our social media accounts to encourage following
3b. Include adverts stating discount codes etc can be obtained by following us on social media a little unsure where to progress from this point, I have no budget available at the moment, but may be able to obtain some if I can achieve some results without. As always thanks for your time.1 -
Calculating a combined follower score for social media
I'm working on a set of social media metrics for a client, and thought of doing a follower score - sort of like a combined influence rating of all the user's followers. Has anyone done something like this before on Facebook or Twitter? Also, what would be an effective way of creating this score?
Social Media | | Ian_Parsons0 -
Manual submission vs automated submission to social bookmarking sites for blog posts
Howdy Mozzers! Say we're creating great content on our blog and would like this content to be seen and shared by as many people possible. Should we submit our blog posts manually to social book marking sites or use an automated service like Only Wire? The advantage of using automation is obvious, saves time on submission. Are there disadvantages? Is google bot going to raise an eyebrow and give us a dirty look? Cheers! MozAddict
Social Media | | MozAddict0 -
301 redirect for blog post URL change
I'm thinking about changing the URL for a new blog post that I have already promoted off-site today. I overlooked a detail and am gently kicking myself. I can't determine if it's worth any negative issues that adjusting it might create vs the value of having a more "perfect" URL. Would it be OK to do this by applying a 301 redirect to the page? Would this be the right thing to do or is there some other way? Thanks!!
Social Media | | gfiedel0 -
Does creating a Facebook App help your social SEO factors?
We're looking to build out an event countdown widget for Facebook users to install as an App. Should we just focus on creating a useful app, or should we be trying to also optimise it for Likes, Comments, Shares etc. Having read the Searchmetrics 2012 report we're starting to ramp up our FB efforts...
Social Media | | cruiserDan0 -
What is the top 3 things I can do with Social to help SEO, starting today!
Need some help focusing social hours to impcat brand, but also make a SEO impact.
Social Media | | jdcline0 -
What social would be good, what buttons to use
Hello, What social media do you recommend for nlpca(dot)com and what kind of buttons convert best for a site like that? We're working on facebook right now: http://www.facebook.com/pages/The-NLP-Coaching-Institute-of-California/187804434598142 So far I like the buttons on the top right of this site: weddingmountain(dot)com. Thanks!
Social Media | | BobGW0 -
Social Accounts/Networks Multiple account management?
Having tried Yoono and Tweetdeck I'm leaning towards Tweetdeck for ease of use.... Managing 5 facebook accounts, 9 facebook pages and 6 twitter accounts at the moment... Any other suggestions for tool or software I should consider?
Social Media | | JohnW-UK0