If we have the same opinion we can express it in a official way:
Estoy de acuerdo – I agree
Yo opino lo mismo – I have the same opinion
Neutrally:
Tienes razón – You are right
Or informally:
Pues sí / Pues claro / Claro que sí – It´s true
¡Eso! – ¡Right!
If we don´t agree, we say oficially:
No estoy de acuerdo –
I disagree
Yo no opino lo mismo –
I don´t think so
And informally:
¡En absoluto! –
Absolutely not!
¡Para nada! –
Not at all!
No tienes razón –
You are wrong
If we are outranged with our friend, we can say (quite impolite)
¡¿Qué dices?! –
Bullshit!
¿Estás loco? / ¿Estás loca? –
Are you mad?