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/
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
-
Redirect social media links to https?
Hi fellow SEO-ers! One of the sites I'm responsible for uses a Twitter or Facebook feed on most of their pages, next to their unique content. As the tweets (twits?) and comments in some of these feeds are old, they still refer to the old Twitter and Facebook-domains using http (instead of https). These links are all automatically 301-redirected, but still make up ca. 9% of the links on the site. Do you think that this affects SEO? I doubt it, because I suppose that Google has seen this many times and understands that these links are still pointing to the same content. Although my client is prepared to write a script to auto-update all these links, I think it won't make a difference. What do you think? Thanks for your feedback!
Social Media | | corusent0 -
Authorship not working despite code showing rel=author
When you run this page through the rich snippet testing tool, it says the page doesn't contain authorship markup. Problem is, a look at the code shows rel = author has been properly added, and the author has listed the domain as a site he contributes to. Hopefully someone in the forum can tell me what I'missing? Why isn't authorship effective here?
Social Media | | JSOC0 -
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 -
Setting Up Author Tags on Wordpress Blog
Hi, I am trying to set up author tags on my Wordpress blog (http://www.bradkrussell.com.au) so that my author profile shows in Google SERPs. I'm following Yoast's article - http://yoast.com/wordpress-rel-author-rel-me/ - and I did everything up to the "How to allow authors to add rel="me" to links in their bio's" section. Basically, in Wordpress under Appearance -> Menus for the About Me page I set 'link relationship' = author. Then on my Google + page (https://plus.google.com/u/0/110649694696756559049/posts) under the 'Contributor To' section on the About tab I linked back to the About Me page on my blog. Upon checking on Google Australia it appears that this was done correctly - https://www.google.com.au/search?sourceid=chrome&ie=UTF-8&q=site%3Abradkrussell.com.au. My questions are: Do I need to link back to my About Me page from every post I do? E.g. 'Written by Brad Russell' - linking to About Me. It appears I don't but does it help? Some of the results on Google Australia show 'By Brad Russell' but some don't. I'm just not sure if this is because the site hasn't been reindexed properly yet. What happens if in the future I have multiple authors on my blog? I give them a new username in Wordpress but how do I specify that they are the author of the post? Do I need to create an 'Authors' section on my site? If I then specify an Authors page as link relationship = author, how do I link each post to the necessary author page? I still don't really understand the rel=me tag and how I implement it on Wordpress. I'm not sure how to edit the functions.php and author.php files on Wordpress (ie the second half of Yoast's article). Many thanks!
Social Media | | bradkrussell0 -
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 are different strategies to achieve a strong social presence for clients in multiple industries? How do you best leverage your time?
I just finished watching the mozinar on "The End of Search Without Social" mozinar, and I have so many points that I want to implement for our agency. The problem I see is that we have clients in about 20 different industries. How do you create strong social relationships in each of these industries for your clients? It seems that you could have more influence if you built all into your own personal profiles or your SEO company's to create that great fan base. Anyone have success in doing it across the board? Thanks!
Social Media | | esztanyo0 -
SEO & Social | More SEO effect by liking the page URL rather than the Facebook Page?
SEOMoz Gurus, I am wondering what our best implementation strategy shoul dbe around linking up the Facebook Like button on our pages. Essentially there are two options: A) Linking the button directly to the Facebook Page of the web site so every Like is actually converting into a Facebook "Fan" which can be messaged going forward through our Facebook page. B) Having them like the actual URL which might be more beneficial from an SEO and viral perspective as now a link to the actual URL gets shared on the Liker's facebook wall and it should also be easier to use that lIke for Google & Co. as it's tied to the actual URL not a random Facebook page given that search engines already convert those signals. Both approaches obviously have their benefits. Are there any common guidelines on what is a better approach to take from a pure SEO perspective? Thanks /Thomas
Social Media | | tomypro0 -
Does social media really work?
I just finished a 2 week test using Twitter. The person running the test was tweeting for 1 hour every day, but the tweets were broken up into several different times throughout the day. She engaged in conversations, retweeted, posted interested and catchy topics and linked to our blog. By the end of the test, we only saw a 7% increase in traffic to the blog. There was no noticeable increase in sales. According to an article I read by Business Insider, Applied Predictive Technologies ran a test to help companies like Starbucks measure the impact of social media. They concluded that social media accounted for a 2% increase in sales. That's not much for the time and money that goes into it. What's your experience with social media? When I first posted this, I neglected to say this Twitter account is one we have been activly using for about 2 years, and we have posted to it at least once or twice every day for the last couple of years. And, we are a well established company for the past 8 years, and we regularily submit press releases and have written 2 articles per day on our blog for several years.
Social Media | | BradBorst0