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
-
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 -
How to promote website/blog on FB, Twitter, Pinterest etc?
Kindly provide me the guide link for FB, Twitter, Pinterest and other important social media websites to learn how to promote website/blog on them
Social Media | | bondhoward0 -
Social Media Examiner - Facebook Success Summit
Hi there, I was wondering if you could tell me if you think it is worth it to pay $300 for this online conference regarding Facebook marketing. http://www.socialmediaexaminer.com/fbsummit12/
Social Media | | qlkasdjfw0 -
B2B social share
Hello, Social sharing is a positive signal for SEO.Google told on its blog, Googlebot take car of more than 200 social websites. Sometime Twitter and Facebook aren't good marketing places because business isn't B2C but B2B. So customers doesn't use them for job, but they use Linkedin, Viadeo, Xing, and maybe some other. I can't be present onto all social website, I've to choose the most relevant.
Social Media | | Max84
I already know which are better for branding and CRM. But for SEO, which is better for you, and why ? Thanks0 -
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 -
So I am my coworker have a differing opinion on social networking sites.
One of us says to join one or two, Linkedin being one of them and just work those. The other says to build profiles on multiple pages - everything from Merchant Circle to fastpitch , essentially any and all, and not worry about activity level, just get the link. What are your thoughts? Which approve will result in more effective optimization for clients?
Social Media | | belocally0 -
Misplaced social media metrics comparison tool
Hello, I can't seem to find a social media metrics comparison tool that showed me the number of Facebook Likes/Shares, Tweets, etc. compared to a site's competition. Does anyone have any idea what this may be? I scanned through all of my SEO Tools and can't find it.
Social Media | | chrisfree1 -
Best place to have blog reside
So... I have a fairly new wordpress blog at myblog.com, but the ultimate goal is to drive traffic and increase rankings for mysite.com. With the rise of twitter/facebook influences do you think best to migrate the blog to a directory within www.mysite.com aka www.mysite.com/blog and then 301 direct all the existing pages to the new pages created or is it better to keep the 2 domains seperate and then just have links in the navigation of both sites to each other? My initial thoughts are to incorporate it within www.mysite.com/blog but not 100% sure? Quick follow up question.. Is there an easy code snipit to add to the .htaccss file to 301 direct myblog.com to mysite.com/blog? Thanks for any help and thought on this! John
Social Media | | JohnHerrigel0