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
-
Links to Social Media accounts, rel=nofollow/follow and rel=me
Hi guys, I just saw this rel="me" attribute and I can't find any reputable recent (within last year) information. I never heard of this and wonder if it's any beneficial in any way. At the same time, should I use nofollow or follow on links from website to social accounts? I've heard different opinions but, again, no recent relevant and trustworthy information. Please, kick me into right direction. However, when kicking, please give me some proof, rather than thoughts 🙂 Thanks!
Social Media | | DmitriiK0 -
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 -
What is a good amount of social shares per week / day?
As the title says. What is your idea of a good amount of social shares to be given per day or week or month for a website?
Social Media | | Zoolander1 -
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 Media updating
Hi, I was wondering if anyone would be able to tell me how SEOMoz records social media statistics. Namely when does SEOMoz record new: Facebook Likes Tweets Facebook Shares Google+ +1's I was wondering this because for campaigns that I am running the social media statistics displayed on SEOMoz are different to what is actually there. Thank you for any help.
Social Media | | SueCook_TAOS0 -
Do social signals pass through a 301 redirect?
Does value from social signals have the ability to pass through a 301 redirect?
Social Media | | SEOmoxy0 -
Identifying Social Activity of Competition in Open Site Explorer.
Analysing the competition in Open Site Explorer, as you all know the results come back with the following detail: Facebook Shares Facebook Likes Tweets Google +1 There is no link through to the pages that have liked, followed or tweeted the URL. I want to understand what the competition is doing in moire detail. How are these numbers actually defined? Is their any way (or whats the best way) to identify the individual pages that the numbers refer to? Thanks in advance. Justin
Social Media | | GrouchyKids0 -
Building video content for social markers
Where is the best placement for FB, twitter, and G+ shares. This is a non=profit site.. trying to give some juice to event sponsors...and any other feedback.. Golf tournament [" target="_blank">>](<img src= "Hosted by imgur.com") [http://imgur.com/ADzSq.png](<a href= "Hosted by imgur.com")" target="_blank">a>
Social Media | | johnshearer0