This is probably more than you wanted to know, but what the hay!:
"Words and music by Frank Silver and Irving Cohn (1923). One of the most successful nonsense songs of the 1920s. The writers got their idea by overhearing a Greek fruit peddler tell a customer: "Yes, we have no bananas." Frank Silver and Irving Cohn introduced their song in a New York restaurant, but it failed to catch fire. Then, in 1923, Eddie Cantor saw the song in manuscript while Make It Snappy (a revue in which Cantor was then starring) was playing in Philadelphia. Held over in that city for an extended run, the show needed some new material, since people were coming to see it a second time. Cantor decided to interpolate "Yes, We Have No Bananas" in one of his routines, one Wednesday matinee. The audience response was so enthusiastic that Cantor had to sing chorus after chorus; the show was stopped cold for over a quarter of an hour. Cantor now made the song a permanent part of his act, and he always brought down the house with it. His Victor recording became a best seller--one of many successful releases of this number. By the end of 1923 everybody was singing it throughout the country. In the Music Box Revue of 1923 it was ridiculed in a performance in which it was presented in the grand-operatic manner of the Sextet from Lucia de Lammermoor--the performers being Grace Moore, John Steel, Joseph Santley, Frank Tinney, Florence Moore and Lora Sonderson. It was interpolated in the motion-picture musical Mammy, starring Al Jolson (Warner 1930); Eddie Cantor sang it on the soundtrack of the motion-picture musical The Eddie Cantor Story (Warner 1954)"
--American Popular Songs, David Ewen, Random House, 1966
'I think the best popular songs of our time belong to the middle twenties. I cannot give exact dates to "Ma, he's kissing me," "Why did I kiss that girl?" and "Maggie! Yes, Ma? Come right upstairs!" but they all belong around 1925.
But the three great smash-hits were: "Yes, we have no bananas" (1923), "T'ain't gonna rain no more" (1924) and "Show me the way to go home" (1925). The first two of these, at any rate, went round the world like an influenza epidemic and were sung even by primitive tribes in the remotest forests of Asia and South America.'
Yes, Ingrid. My first crush. Ingrid Bergman. Inn of the Sixth Happiness. She would have sung 'Ja, vi har inga bananer; Vi har inga bananer idag.' But not in this film. She sang 'Knick knack paddywhack give a dog a bone'. Still crushed.