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
-
On a website, is the most effective user experience for the social media icons to open new tabs?
There is debate around what is most effective for user experience. When a user clicks on the social media icons on our site, should a new tab be opened for the social media page or should the website redirect to the social media page?
Social Media | | Sable_Group0 -
Will Facebook traffic hurt our SEO? Should we put our blog on the core domain or sub domain?
We are concerned that social traffic could hurt our SEO. What do you think... Our average time on site from organic search traffic is 7 minutes. Facebook traffic has an average time on site of 1 minute. Both traffic sources are going to different pages. If we generate 3 times as much traffic from Facebook as we do from google this will pull down our overall average time on site and engagement levels big time. Should we put our blog on the core domain or a subdomain? Right now we are holding back on promoting on facebook because we are concerned it could hurt our SEO, what do you think? Should we try to get as much traffic as possible from Facebook even though the engagement is much lower? Should we put our blog which is generating the low engagement traffic from facebook on the core domain or a subdomain?
Social Media | | rvshare0 -
Blogging and ??
Hi, I post 2 interesting articles every week on my website's blog.
Social Media | | VaiSam
I post about them on Tw, Fb, G+, Ln. What else is recommend (wrt to blogging & otherwise too) to improve SERP and organic traffic?
Somehow I feel this is not good enough. Somehow guest blogging is not working out, tried a couple of times. I am a bit lost here, need some pointers. Thank you in advance. Best regards,
Vai0 -
B2B Social Media Creeping
I recently posted an (insightful) comment in a LinkedIn group. I can see that someone from this group has taken a look at my profile, so I'm assuming that they read my comment and they were at least a little intrigued as to who exactly I was. I would regard this person as a prospect. Maybe a slightly unlikely prospect as there's a couple thousand miles that separate us geographically. I'm wondering what sort of etiquette/best practices there are for connecting somehow with this person/company. Initially I thought I'd follow them on Twitter, maybe like them on Facebook, but they have no such presence. I like the idea of connecting with them that way because it's a 'soft' connection - not too aggressive. Doing something like emailing or calling and saying 'Hey, saw that you looked at my LinkedIn profile', seems creepy & desperate. Even sending an invitation to connect seems a little too forward. I feel the only thing to do is to continue to involve myself in this group by posting thoughtful & insightful comments in order to get noticed further that way.
Social Media | | stevefidelity0 -
Page Speed and Social sharing bookmarks - how to balance
I've been having some challenges on my page load times and am in process of addressing. Some of the issues are my pictures(so I'm in process of condensing), but part of the issue (according to pingdom.com) is my social sharing. I was using 1 click retweet, and when I changed this to Sexy bookmarks, it seemed to improve. But, I'm wondering 2 things: 1. Do you guys have any recos on which plugin is best to use and takes least time to load (I'm not sure if this is contraditory). My priority is G+/Tw/FB. 2. On my sexybookmarks, it's strange because visually, the plugin is not showing up correctly. Where the G+ button should be, it's invisible. Ironically it works, if I click on it, but a normal person is not going to realize it's there. Any suggestions? In case it helps, my site is TheFlooringGirl.com. I don't think the plugin shows up there, but it does show up at the bottom of all of my blog posts. Thx. I appreciate any guidance you can provide.
Social Media | | Jborgueta0 -
Will we penalized for using social media contests to gain fans/followers in the future?
To help build up my company's website, we've been making a huge push in social media and to gain followers on our social pages, we've recently been running a couple of contests. So far it's been a great success - more traffic to the social media pages and more traffic to the website. We are considering making the contests a regular part of our social media & SEO strategy. In the past, our social media strategy has relied completely on "organic" likes (no incentives to follow our company's page) and posted content articles, pictures, etc. In the past month or so, we've began to use giveaway contests as a way to gain followers. Since focusing more on running contests, we've seen a huge increase in actively on our social media pages. We've continued to regularly post content articles, interesting pictures, etc, during the contests, but haven't see the same level of engagement that we do with the contest posts. Right now, it's looking like there is no down-side to running the contests as we're seeing an increase in traffic on the social pages, getting some additional traffic to posts and on our site, but before we start to completely commit to this strategy, I have a couple of questions: Is there a reason we shouldn't continue to run these contest to increase fans and interaction? How likely is it that Google will penalize us in the future for gaining followers through contests (instead of "organic" followers that followed us without an incentive)? There are some fans/followers that are serial contest entrants and are always entering a contest - could having too many of these fans raise a red flag for Google and the other search engines? How often is too often to be running a social media contest? Basically, I want to make sure that we are using social media as a long term SEO tool and are setting ourselves up to be successful in the future and not get penalized for gaining followers the wrong way. Any tips, strategies or advice is very much appreciated. Thank you!
Social Media | | airnwater0 -
Outsourcing social media optimization
Is it a good idea to outsource social media optimization or is it something that has to be done in-house? I understand the question is kind of vague, but what I had in mind was to have an offshore contractor post daily about individual products and try to increase our following on twitter/facebook (i.e "social footprint").
Social Media | | inhouseseo0 -
What is the best social backlink checker available right now?
I want a tool that i can enter a domain into and get all the social backlinks available. Preferably the tool that keeps the most recent database of this information. I'm willing to pay for the tool, it does not need to be free. Not sure if i'm using the right terminology here, by "social backlinks" i mean Facebook Shares, Twitter RT's, Google +'s, etc.
Social Media | | adriandg1