A: I don't like pork.

B: Same here.

A: I'd like a hamburger and a small coke.
B: Same here.

--------------
Can we use 'Same here' as in the short dialgues?

Yes we use "Same here" in short dialogues. However in your first example -- a negative -- it would be more common to say, "I don't like it either."

Yes, we can use "Same here" in the short dialogues you provided. "Same here" is a phrase used to express agreement or similarity with someone else's statement or preference. It indicates that the person speaking has the same opinion or desire as the previous speaker. In your examples, both person A and person B are using "Same here" to show that they agree with the statements made by person A.