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
-
Social Media / Articles
Hi Mozzers, I have a couple of questions regarding starting out into social media with an e-commerce website. Most of my experience lies in niche content where a social media following is more natural. Having completed most of the site audit (at least the planning). Its time to begin planning the next move into writing articles on the blog and heading out into social media to facilitate link building whilst i finish off creating the last of the updated website content. I have plenty of subjects I can think to write about and many keywords to target with articles on the website. But I could do with some advice linking this into social media. We have youtube, google+, facebook and twitter accounts but all of them are inactive bar profile information and have almost no following. We sell technical measurement equipment across a selection of niches. My plan is as follows so far, 1. Write 5-10 amazing new articles across the selection of products
Social Media | | ATP
2. Link to them all on each social media platform to begin populating each with content
3. Populate the website homepage with links to all our social media accounts to encourage following
3b. Include adverts stating discount codes etc can be obtained by following us on social media a little unsure where to progress from this point, I have no budget available at the moment, but may be able to obtain some if I can achieve some results without. As always thanks for your time.1 -
Do we need to post unique content on every Social media website?
Can we use the same content (description) for FB, Twitter, Pinterest, Google+ etc?
Social Media | | bondhoward1 -
International Social Media Pages
If your going to target multiple countries but who have same language (such as US & UK) which of the main social media accounts should you set up a country specific version for ? I know some like Google+ allow for sub-pages/listings for different localities/outlets etc so I presume you only need the one G+ company page (but pls confirm if you agree or not ?). I keep hearing peeps say set up country specific Twitter and FaceBook pages, do you agree ? and what about other main social sites like Pinterest & LinkedIn etc ? Thanks Dan
Social Media | | Dan-Lawrence0 -
Value in content from website being shared across social media?
I asked this question a couple of days ago. Would be great if anyone has some good insight: I write content on my site, which I immediately share across Twitter, FB and Google+. Will Google view me as active on social media with this onsite content I distribute across social media sites (basically creating duplicate info across social media, which already is on my site) or will I be seen as less active on social media since I do not write original content on the social media sites, but rather use content from my site and distribute across social media.
Social Media | | knielsen0 -
Request: Feedback on new free tool that provides social analytics for recent blog posts
We have created a tool that provides "at a glance social metrics" for the URLs listed in an RSS feed. Its intended purposes are: Monitor the social success of your recent blog posts Spy on the social success of your competitors' recent blog posts Quickly analyze a blog for social sharing metrics to determine whether it is a good outreach prospect or guest post opportunity Check out the tool at http://www.rypmarketing.com/tools/rss-social-analyzer.php I've attached a report run on the YouMoz RSS feed. Would love to hear some feedback on the tool... Do you think the tool is useful? Nice, but not worthwhile? What could be done to improve it? What ways do you think it will be most useful? Thanks! RSSSocialAnalyzer-YouMoz.png
Social Media | | AdamThompson0 -
Social doesn't help SEO (article), what are your thoughts?
Social doesn't help SEO (article), what are your thoughts? http://www.imediaconnection.com/content/32887.asp?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ImediaConnectionAll+%28iMedia+Connection%3A+All+Stories%29
Social Media | | activitysuper0 -
Blog Contest Question
Hello, I'm planning a blog contest. I have the project plan outlined and the one missing factor is where to promote the blog contest to get the most people involved in the contest possible. What do you recommend in regards to publicizing the contest to bloggers?
Social Media | | AllergyBuyersClub0 -
ROI in Social Media Optimization
Could you please explain the link values to be earned through Social Media Optimization?
Social Media | | gmk15670