I need some help identifying a logical fallacy. What is it called when someone says something such as: "Person 1 and Person 2 both like Thing A. Person 2 also likes Thing B, therefore Person 1 also likes Thing B (or perhaps condones or tolerates Thing B).

I have many friends and we all have common interests in something (or else we wouldn't be friends). But if, for example, I like bowling and he likes bowling as well, but is also pro-Opinion A, that doesn't mean that I'm pro-Opinion A by extension.