Luminescent metal-organic framework films, CPM-5⊃Tb(3+) and MIL-100(In)⊃Tb(3+), have been constructed by postfunctionalization of two porous indium-organic frameworks with different structures, respectively. The MIL-100(In)⊃Tb(3+) film shows high oxygen sensitivity (KSV = 7.59) and short response/recovery time (6 s/53 s).