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
-
Yoast Social Accounts URL Section
Hi When you click: Social within Yoast plugin it defaults to 'Account' tab and displays a list of fields to enter your social media account urls. Sentence above list says: "To inform Google about your social profiles, we need to know their URLs. For each, pick the main account associated with this site and please enter them below" What does that mean exactly and does it effect links on the site etc or literally is just Yoast telling G ? Also if you have sub sites for different language versions (WP on Multi User setup), which in turn have their own language specific social media account versions , should you enter those urls in the sub site language version own Yoast plugin fields OR , as per "...pick the main account associated with this site and please enter them below" use the primary social account and not the language specific social account or just leave them blank ? Many Thanks Dan
Social Media | | Dan-Lawrence1 -
Ranking without links but through Social Media popularity
Does anyone have an example of a web page that is ranking soley through social media popularity and does not have any inbound (website to website) links? I am creating a presentation on SEO and Social Media and it would be great to have an example. Thanks Carla
Social Media | | Carla_Dawson1 -
How do search engines understand what social pages are official pages of my brand? If my Facebook page name is not my brand name (even though there are links from website to page and vice-versa) will that confuse search engines?
My question is about social shares, and how search engines understand what profiles are linked to what businesses?
Social Media | | PlanetDISH0 -
Crawling of Social data
Just a quick inquisitive question. Websites like Facebook and Twitter arent public, they obviously allow a page title and snippet of account info in search results. So how are is social metrics gathered as regards to Tweets or Shares or Likes etc. in crawling data gathering? Would this give some insite how best to share social media too?
Social Media | | xtopher660 -
Problems with Google Analytics social tracking
Hi folks, Any GA experts out there available to help with a social tracking problem we've got? In short a client is using a ShareThis plugin, but the data we're seeing in GA doesn't correlate at all with the share counts showing on the plugin. Huge discrepancies in fact. Could do with someone taking a look at the page and seeing what part of the tracking code we need to update/fix. We'll make it worth your while. Please PM me if you can help. Thanks! Matt.
Social Media | | MattBarker0 -
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 -
What to tweet and blog about?
A little background: The site I'm working on, www.ixl.com, is a math practice site for pre-K through 8th grade. Our content consists of math skills where we randomly generate math problems, grouped by grades and topics. We have around 300 skills per grade. The question: We don't currently have a twitter feed, Facebook page, or a blog. I'm working on setting these up, or at least a twitter feed and the Facebook page first. I'm wondering, what kinds of things will we tweet about once I get a twitter feed set up? What kinds of things should we be tweeting about? Things like online education articles? And articles about teaching math? Do you guys think that would be compelling enough to get followers and make this productive for us? Another question, how important do you think a blog is, compared to a twitter feed and Facebook page? I was thinking it would be fun to set up a blog, and post math questions from the site 2x or 3x a week, as well as other content that could overlap with the twitter feed.
Social Media | | john4math0