Hi. This sentence is great grammatically. However, it is a "run-on" sentence which means it is very long, so maybe make it into two different sentences or adding punctuation.
Example:
I got to know him when I joined the student union. We met each other the first time at the first student union meeting when I was a freshmen.