When trying to post to the sites Facebook account by either updating or creating a blog post I get a HTTP 500 error.
I've tried reauthorising the facebook user but with no effect. I have also tried recreating the app with the same results.
I also applied the fix from this thread - http://stackideas.com/support/discussions/500-error-only-when-facebook-integration-is-on.html
but it unfortunately did not work.
Looking through the Facebook API documentation, I found that access token expiration should give a HTTP 400 error not a 500. So I did a bit of debugging and found that the HTTP 500 error is being generated by the throwAPIException function in base_facebook.php
(METHOD: commenting out the expression 'throw $e' stopped the HTTP 500 error from being shown)
The error handler is receiving an error not accounted for ('Error validating application'). This error appears to be causing the HTTP 500 error.
(METHOD: I captured this error by printing the contents of $result passed to the throwAPIException function in base_facebook.php)
I will keep digging but any help would be appreciated as I would like to get this fixed.
P.S. if you make any mods can you document them as I would love to know what's going on