Thank you, Carlie, for asking another great question :)
This is actually extremely complicated, so the best suggestion would be simply to pay attention to how your international friend introduces himself. Customs vary enormously depending on the exact relationship and context. Also, please note that with modern technology, we need to consider our choice of words from the perspective of the people we’re talking to. Even though China is the largest country in the world, there are still billions of people who live outside of China, so it’s not a good idea to lump us all together as “foreigners.” For one thing, customs are different in every country. For another, you may want to consider that the term is confusing, because a language partner in another country would actually consider you to be the foreigner. I’d recommend using a more descriptive term than “foreigner.” One idea would be the adjective “international,” in combination with a suitable noun: “international friend.” I guarantee the reaction you’ll get will be ten times more positive than if you say “foreigner.”