It's recommended to utilize the function in this manner: $function.share("msg");
. However, I am interested in appending a variable to the strings.
$function.share("https://www.youtube.com/watch?v="+$Id+"");
Unfortunately, it seems to be not functioning as expected.