@tanguatlay,
This idiom is a wee bit tricky.
You can say "we are best friends" which means the same as "we are the best of friends"
but if you say "we are the best friends...." then that sentence is incomplete.
imo the better phrase is "we are the best of friends"