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
-
I want to know if we buy social signals from website like buyfok.com, how it will affect in seo?
I saw many website link https://buyfok.com/ which sell social media followers like instagram, facebook followers and likes. I was thinking to increase my social followers/signals for SEO purpose. That's why I want to ask, how these websites followers will affect in SEO?
Social Media | | akrib0 -
How do your direct social media to use another picture when the web site is shared?
I set up a web site to raise funds for my nephew(www.helpmatt.org) and social media randomly picks a picture on the share. Unfortunately this picture is from happier times and sends a different message than we would like to prospective contributors. Is there a way to set the picture that is used when this web site link is shared on social media? www.helpmatt.org
Social Media | | Ron_McCabe0 -
In 2013 is guest blogging a worthwhile activity?
Guest blogging is one of the activities I’ve never undertaken only because I went down the avenue of thinking if you go to the time and effort of producing great content why would you want it to be on someone else’s site when it could be on yours. The only reason I’m thinking about undertaking guest blogging now is because with social media becoming more prominent and indeed I found it to be very useful, I can see the logic that if you have got a niche of expertise to write about and you find good quality websites that will accept your guest blogs maybe that is a productive thing to do by attracting relevant traffic and also producing quality links to your website Have you got any experience of Guest blogging recently? Would you spend your precious time writing for your own website or spend some of that time guest blogging on good quality related websites? And if so what you see the main advantage is being?
Social Media | | whitbycottages0 -
How important are social signals to SEO?
How important are social signals to SEO? Are generating social signals a must? It seems every website out there has some sort of social sharing tool installed, everyone is after a like or a tweet. Are we now looking at getting as many likes/tweets etc from real accounts as possible because actually they effect SERP's a lot. Cheers
Social Media | | activitysuper0 -
Automating the brainless tasks of Social Media Management
I'm talking about Scheduling Tweets Scheduling FB Updates I'm sure I'll be pointed to some good resources for the above but what I really need is a tool that allows me to sort out queries/complains/requests that I would need to pass on to my client. Something that lets me tag a comment and gathers it with complete data like user name, time, comment etc. Does something like this exist?! Similarly, something that allows you to filter words that should be treated as spam. Also, suggestions on what other "brainless" tasks of SMM should be/can be automated would be appreciated. Regards, Edit: No responses as yet! Whats up Mozzers?
Social Media | | AsadMemon0 -
Are social signals passed with a 301 redirect
Hi all, A question came up today that I don't think I've seen answered before. We hear all the time how important social sharing metrics are becoming to SEO, but what happens to the social signals of a page when it is 301 redirected? Are the social signals forwarded on in the same manner as link juice? Has anyone ever seen any experiments carried out around this before? Thanks very much in advance for any information shared. Cheers.
Social Media | | searchysearchy1 -
URL's for videos to increase page value and social sharing value
Hello Everyone, We recently developed videos for all of our products. Upon clicking on each video, we have the video popping up in a lightbox. The videos are hosted on Amazon s3. We would like to implement social sharing for each video and to do so, we are going to have the video load on each page upon being clicked using jquery. My question is how we should structure the urls so that the actual product page gets the share value. So for example, if the page is www.website.com/product1.aspx should we have the video be www.website.com/product1.aspx#video and ensure there is a canonical url on each product page so that the benefit is given to www.website.com/product1.aspx Or is there another way that anyone would recommend doing this? The videos are AMAZING and I'd like to ensure that as these videos are shared on social networks, that the value of the share is directed to the actual product page. Any ideas mozzers? Thanks!
Social Media | | eric_since1910.com0 -
Social Media and Outbounds...
I have two sites I can get a link to my site on. The first has 10 outbounds all to facebook. The other has ten links to ten different sites. Assuming the sites are in every way equivalent apart from in that way which site gives me more juice if I add a link to my own site?
Social Media | | Turkey0