The versions with "to" put the emphasis on your part in the conversation.
The versions with "with" put equal emphasis on your friend's part in the conversation.
There's very little difference between "speak to" and "talk to", in this particular context. For me, "speak" puts more emphasis on the physical act of speaking, while "talk" puts more emphasis on "communication"; but other members would no doubt disagree!
All the best,
Student or Learner