The best I can do for you is provide you with the URI scheme for magnet links. Maybe referencing that you can create them.
Magnet URI schemehttps://en.wikipedia.org/wiki/Magnet_URI_scheme
Maybe someone else has better information, so you can wait for that or ask at other Q+A websites online.
Only approved users may answer the questions of others. All other users may ask the questions.
There is a top-shelf free educational course of videos associated with this domain, all about how to build custom communities and social network websites. There are over 45 videos in the course totaling just over 10 hours. We also archived the deprecated course material here for you to reference on the source files page.