If you rub shoulders with famous people, you meet them and talk to them. You can also say that you rub elbows with someone, especially in American English.
He regularly rubbed shoulders with the stars.
Synonyms: mix with, associate with, consort with, hobnob with