3832

New xfbml “Like” button + CloudFlare 503 error kills count?

Recently switched to XFBML to make our page more efficient. However, we noticed that when we started using fb:like vs. the old iframe new Facebook Likes are no longer recording!

Wanted to get some insight on this. The Facebook debugger is not returning error codes so we're in the dark about what's causing this!

Code reference, everything checks out though:

<fb:like href="http://www.example.com/" send="false" layout="button_count" show_faces="false" width="90" font="arial" action="like"></fb:like>

<strong>CloudFlare:</strong> I did notice that CloudFlare was sometimes deflecting traffic from the Facebook debug/linter and wanted to know if that could be related? Here's an example request you can try: http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.vancitybuzz.com%2F2012%2F01%2Fwhat-lurks-below-british-columbia%2F

Thanks for the help!

<strong>Update:</strong> this issue is occurring on multiple methods for "like" (HTML5, etc.)

Answer1:

We have actually identified the issue (worked with Facebook) and we believe a proper fix went out for this. Our internal tests & reports from other customers indicate that the 503 debugger issue is no longer being returned.

If you see other problems with the debugger at all, please contact CloudFlare.

Answer2:

It took a recipe to figure this one out, but if you have the same symptoms (CloudFlare, Wordpress site, Facebook "Like" button not working in both xfbml and html5 formats) then here is what I recommend:

    <li>Contact CloudFlare and request an update of all Whitelisted IPs</li> <li>Remove CloudFlare setting to check for browser integrity</li> <li>Clear and/or change all cache-control headers</li> <li>Wait a day so CF servers have a chance to propogate</li> <li>Perform a linter/debugger reset on "likes" that lost count: http://developers.facebook.com/tools/debug</li> <li>Add your Facebook ID to the meta tag </li> <li>Like items you want "rejuvenated"</li> <li>Wait one more day for Facebook servers to propagate and sync accordingly</li> </ul>

    The key was giving the problem time, since both CloudFlare and Facebook have vast servers that require syncing mechanisms, and may take days to catch up.

Recommend

  • How to satisfy the lint rules 'array-callback-return'?
  • How can I export a class in node?
  • Disable warnings (ids selector) in linter-csslint on Atom?
  • Display Flycheck buffer (with errors) when saving
  • XMPPConnection Error in android
  • How to Update model and database with code first approach in Asp.net MVC
  • Google Places API - Get more than 10 photos from Details Response?
  • Should I optimize around reads or CPU time in Google App Engine
  • Android Oreo JobIntentService Keep running in background for Android 7 &below and crashing often
  • Connecting Google Cloud SQL with Wordpress on Google Compute Engine
  • How to make SASS put relative paths in its output
  • UIBarButtonItem's action is not called when in a view with a UIGestureRecognizer
  • C++/CLI Thread synchronization including managed and unmanaged code
  • using System.Speech.Synthesis with Windows10 universal app (XAML-C#)
  • Bootstrap (v3.3.4) glyphicons not displayed in IE when refresh page (F5)
  • Implementing “partial void” in VB
  • Why cepheus don't send int without quotes to orion?
  • Sending HTML Form Data to Spring REST Web Service
  • rspec simple example getting error on request variable in integration test
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • Alternative to overridePendingTransition() - Android
  • Android - Material Design - NavigationView - How to put vertical scroll?
  • Can I check if a recipient has an automatic reply before I send an email?
  • Why is an OPTIONS request sent to the server?
  • Getting last autonumber in access
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • Symfony2: How to get request parameter
  • what is the difference between the asp.net mvc application and asp.net web application
  • VB.net deserialize, JSON Conversion from type 'Dictionary(Of String,Object)' to type '
  • log4net write single file for each call to log.info
  • Getting error when using KSoap library to consume .NET web services
  • -fvisibility=hidden not passed by compiler for Debug builds
  • how does django model after text[] in postgresql [duplicate]
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Cant find why the layout is getting smaller
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Conditional In-Line CSS for IE and Others?