How to get friends list and pass it to a javascript file?

thanks for answers.

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking