Yes, Kirsten Dunst and Tobey Maguire got along very well. They were good friends during the filming of the Spider-Man movies and have remained friends since.