You've known this person for the past three years, but you have different groups of friends and have never hung out outside of class. You would like to thank this person for what he said. You're friends on Facebook. Would it be strange to send him a quick Facebook "thank you"?
ETA: Thanks for the advice!