from what I understood for such a combination of conditions:
if (strlen(qa_opt('facebook_app_id')) && strlen(qa_opt('facebook_app_secret')) && 10<0){
facebook login should not be displayed(as 10 is not less than 0), but it still does! I made that change exactly where you mentioned in the qa-facebook-layer.php file, but it does not help!