The Short Version
The claim is well supported by the historical record. Arany and Petőfi began corresponding in early 1847 and met in person in June 1847, so saying they first met in 1847 is accurate. Sources also consistently describe a close friendship that formed that same year.