In this work, we report a novel optical fiber taper fluorescent probe for detection of nitro-explosives. The probe was fabricated by an in-situ photo-plating through evanescent wave and transmitted light initiated thiol-ene “click” reaction, from which a cross-linked fluorescence porous polymer film was covalently bonded on the surface of the fiber taper. The film exhibits well-organized porous structure due to the presence of polyhedral oligomeric vinylsilsesquioxane moieties, and simultaneously displays strong fluorescence from tetraphenylethylene with aggregation-induced emission property. These two characters make the probe show a remarkable sensitivity, anti-photo-bleaching and a repeatability in detection of TNT and DNT vapors by fluorescence quenching. In addition, the detection is not interfered in the presence of other volatile organic gases.