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/
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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 & SEO
Hi Does anyone have any good articles or case studies on how SEO/Social compliment each other? I know the benefits, I just need something tangible to show management, which justifies me spending more time on it. I currently do a lot of onsite SEO, but I know we're missing the content marketing/social media aspect and it's something I want to push. Any help would be great 🙂 Becky
Social Media | | BeckyKey0 -
Social in SERPS
Hi Guys, I have seen a lot of page 1 SERP exposure for branded terms due to social links being listed directly underneath the web listing - mainly twitter! I know there was an update to include this in SERPs at the beginning of the year but how do I specify or submit these to Google so my social accounts can too also appear directly under my web page? Does anyone know? Is there a code I need to implement on my site to pull these in? Thanks!
Social Media | | eLab_London0 -
Social Signals Inquiry Regarding Competitor
There is a competitor in my sites industry, and per various tools like opensitexplorer, quicksprout, and searchmetrics, they have an evenly amount of massive (100k+ per page) facebook social signals (likes, shares, comments) to around 25-50 of their top pages on their site. They have no social media presence in terms of a fan page, and they rank on the first page for almost every single keyword that is niche related. How could it be possible to naturally have the same number of facebook social signals to all of your top pages? What have they done to even accomplish this, and is it only a matter of time before Google recognizes the black hat tactics they've put in place to manipulate the search engines?
Social Media | | WebServiceConsulting.com0 -
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 -
Social Media Submitter
Hi there How do you submit your linkbait pieces to social medias (Digg, ...)? Do you hire people with highly connected profiles and high success rate so probability for viral spread is bigger? Thanks, Chris
Social Media | | Diderino0 -
Is using a platform to automatically cross post on the social media networks good for SEO?
Is cross posting automatically on the multiple social media networks good for SEO or bad?
Social Media | | Melia0 -
Custom Social Media icons: Good or bad?
Hi guys, In our never-ending search for better SEO strategies and results, our journey has led us to question the idea of creating custom social media icons for our site. We are wondering if anyone has had experience, either negative or positive, by using these icons, or if there is no difference at all? I would like to make it clear that we are only thinking about customizing the icons that lead to our Facebook page, Twitter profile, YouTube channel, etc. NOT the like/share/tweet/etc buttons. We understand the negative effects in changing those icons, but are interested in knowing if creating general icons that match our design will be a good or bad thing. Any replies are appreciated, thanks!
Social Media | | jid0