1833, originally "the stuff they feed fools on" [Marryat]; probably an arbitrary formation from elements meant to sound ridiculous, perhaps with allusions to flap "a stroke, blow" and doodle "fool, simpleton."
1. What oppose to it is word of falsehood , empty, i . e . boast, flapdoodle and lie.