I think Fannie is mostly a nickname.
However, the name Fanya appears as a given name for a
girl in the birth records for Nezhin Ukraine. The first
occurrence is for a girl born around 1880. There are a
small number in the decade of the 1890s, and slightly more
(but still a small number)in the decade of the 1900s.