How to add a contact to your profile

To add a contact to your profile you need to have to have two browser windows open. In the first open the URL of the WebID you want to add (e.g. In the other window go to your Solid homepage, then Profile and then hover to show the tools. Pick edit and you should get a screen like the one on the left. Then drag the padlock of your contact’s URL down to the target at the bottom of the page.


Thanks for sharing the tutorial!

I was wondering if there is a best practice on how to do the same procedure programmatically ?
For instance given that I have a friend’s user ID, and I have some react component that takes this ID into textfield and then on button click I invoke a call to some solid react api to do so ?