Better error detection and remove double quotes from facebook links