hmm strange, i connected an app in facebook yesterday without having needed https, runs on regular http, have you tried just with inserting http ?
edit: i also do ajax requests to php server
i did put this in my connection file
header('Access-Control-Allow-Origin: *');