FB.ui method: 'send', how to add more id user facebook

htllo,

i have this code:

<h1>request</h1>
<button class="btn" id="send-to-one">click here</button>


<script>

document.getElementById('send-to-one').onclick = function() {
  my_list = ['10152390280238700', '295241230636394'],
  FB.ui({
  method: 'send',
  link: "https://www.facebook.com/",
  to: my_list,
  data: "thanks",

});
}

</script>

why i cant put only 1 id you can try and look here: https://www.fbrell.com/

thanks

1 answer