Friend permissions are gone and the Chat API is deprecated, there is no way to do this with any language.
Lee mas