For some reason the facebook crawler is triggering the json response in my rails actions. This causes the action to just return a json representation of the object, without
Check what HTTP request headers the Facebook crawler is sending – especially the Accept header.
Could well be that they send a value that let’s your application think it has to send something different then the normal HTML output.