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
-
Question about pruning your website/blog for SEO
Hey all, So I checked out "The What, Why, and How of Pruning Your Website for SEO" and recently read ahrefs well known article on seo strategy and both really focused on the idea of removing poorly performing pages on your site for an SEO boost. I've asked this question in a few different ways before but I was hoping to get some more insight into this. If my company's blog has thousands of posts going back 5 years, 99% of which only really had pageviews on the day of their release and then after that receive no traffic, direct or organic, am I better off getting rid of (301) 99% of these posts and only sticking to/improving important/performant posts? Does anyone know how other blogs/sites deal with these sorts of issues. Where one function of the blog is to provide informative articles and the other function to post little tidbits (with barely any copy and rapid relevancy decay rate) meant to promote interaction with the blog community (like polls or one line contest winner announcements). Is this an issue of misusing the blog? For example, should the blog just be used for articles and all contests etc. be moved to social media? Thanks in advance for your insights, Roman
Social Media | | Dynata_panel_marketing0 -
Can someone clear up social signals as a ranking factor?
I'm aware that Google have addressed this before and specifically said that social signals are not a ranking factor: http://searchenginewatch.com/sew/news/2325343/matt-cutts-facebook-twitter-social-signals-not-part-of-google-search-ranking-algorithms However I came across this (admittedly great) infographic from Neil Patel, an SEO I have a lot of respect for: http://www.quicksprout.com/2014/01/31/how-social-signals-impact-search-engine-rankings/ In the post he specifically states that "both Google and Bing use data from social sites in order to determine how high to rank your website." I have always understood that social signals help drive links by spreading your content to a bigger audience, thereby getting your content in front of people who are likely to link. I also appreciate that content that is shareable is also likely to be linkworthy. However. Neil doesn't talk about correlation here, he talks about social signals as a ranking factor. Is he being misleading, or has the game changed since Matt Cutts said they don't use social signals?
Social Media | | CustardOnlineMarketing0 -
Measuring reach and engagement on all social media platforms
What's the best tool for measuring reach and engagement on all social media platforms (or at least Twitter, Google+, Facebook) ?
Social Media | | RikkiD220 -
Social Media Tracking
We currently use Sharing from JetPack to offer people the ability to share our blogs on Twitter, Facebook, and so on. Unfortunately the Site Stats provided are not very thorough and not able to be tracked in Google Analytics. Does anyone have a suggestion on which program is best to use for social media tracking? We would prefer to use one program to gather and show all of the statistics.
Social Media | | Prager0 -
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 -
Improving page rank for a social media profile?
What are some ways to build links to social media page that links back to your website? Example: Building links to my Pinterest page that links back to my website. Who do we pump up the Pinterest page?
Social Media | | KrisPhoto0 -
Ghostwriting, blogging, and rel=author
Do you think it's unethical to use ghostwriting on a company's blog? Specifically, I mean hiring a writer to create content for the blog, and then publishing the content under, say, the CEO's name and using rel=author to tie it to the CEO's social identity. Does that undermine the whole idea of AuthorRank? Is it gaming the system?
Social Media | | CMC-SD0 -
"Mister Wong" DoFollow Social Bookmarking Backlinks
Has anyone had any experience with the DoFollow social bookmarking tool "Mister Wong". Is it worth the fee for DoFollow links? Is this site subject to Google Panda penalties or others for essentially selling dofollow links? Is social bookmarking as a whole worth the time and effort? Does anyone have any alternative sites or strategies for acquiring a high volume of dofollow backlinks?
Social Media | | BethA0