I don't remember, I just remembered reading that both of those were made by some Chinese immigrant that started a "Chinese food" shop in San Francisco, some time in the 1930s or so. Seemed believable since there were a lot of Chinese immigrants in California as early as the 1850s cause of the railroad
Fortune cookies were originally Japanese, but when the Japanese were sent to the internment camps, the Chinese opportunistically began serving them in their restaurants on the West Coast