Both are fine to use. But to make the sentence sound more natural say it this way;
"I talk with MY friends from another country"
"I talk to MY friends from another country"
Also if you are referring to a conversation that has happened use talk in its past tense;
"I talkED with my friends from another country"