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
-
Trying to find a WP application (that does not require a FB application) that synchronizes website blog posts with a company facebook page
I'm not a developer and it's been about 5 years since I helped a client synchronize their wordpress blog posts with their FB page. I remember it being much simpler to do this in the past. However recently I'm noticing that all of the WP auto post applications require a Facebook application to get the synchronization to function properly.
Social Media | | RosemaryB
Is there any WP plugin available that does not require this? Something that just requires FB keys?0 -
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 -
Socialbakers tool for Social Media
Hi! I've been using Sprout Social to manage my Social Media. I saw a video of Social Bakers and was a little bit curious. I haven't heard of it. So I clicked through an ad to look at their features & pricing. I was surprised to see such high values. Does anyone has any experience working with this tool? Are this reports providing a lot more of information than the ones that I can handle through Sprout Social? Thanks for any comment that can help me understand this.
Social Media | | guillermoga0 -
Do bitly and owly shares on social media help out my site for SEO?
Hi Mozzers, Do shortened URLs, such as bitly and owly help out my website in terms of SEO? I know they will help in terms of referral traffic from people clicking on the URLs, but how about increasing DA, PA, etc.? Thanks!
Social Media | | Travis-W0 -
Is a Tumblr company blog good for SEO?
Hi, We are in the process of gaining coverage and visibility over our SaaS service. And one of the work we're doing is, very much standardly, having our pro blog with content. I see that most of companies/people are using a WordPress or a Blogger blog to achieve this. Another school is choosing Tumblr, which is a rising star. But then I can't help to feel that there is something wrong with Tumblr. It doesn't appear in Google search at all... It is never in the top of the searches. And sometimes even search for an exact match of a known post extract won't show the Tumblr link into google Search. What it means to me is that Tumblr has a very poor SEO-friendly policy. I was also reading in different posts that it was indeed the case. Tumblr is bad for SEO. I can't help but feeling confused and not really understanding how such a big social blogging engine couldn't get into google search... Or are they going twitter-like? I guess my question will be: "Is it good to have chosen Tumblr, or should I switch to either WordPress.com or Blogger using a custom DNS?" Thanks for reading.
Social Media | | NicolasE0 -
Why isn't SEOMoz using Wistia's social sharing feautes?
I noticed that SEOMoz does not make use of Wistia's social sharing buttons such as a Facebook Like button. Is there any disadvantage to using the like button via Wistia rather than copy/pasting it in static HTML?
Social Media | | TheDude0 -
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 -
Is it possible to customize the size and shape of social sharing buttons?
Hello SEO people... I have an important and urgent question. Is it possible to customize social sharing buttons with counter? We are developing a new website and I want to place the social sharing (not the social follow buttons) at a specific location on the website. The space available is not a lot and my developer says that it is not possible to change the size of the button+counter.... please tell me what you guys know about this. And if the answer is 'YEs they can be customized' then please give me a link that I can forward to the boy so that he can work on it. Your answers will be highly appreciated. Regards, MTI
Social Media | | TopGearMedia0