Monday, 13 March 2017

I Used Twilio with a For Loop and my phone won't stop buzzing URGENT

Twilio is a Node JS plugin that does SMS. I stopped my server and my phone still has been receiving messages for 30 minutes now. How do I stop Twilio from sending me messages? I don't want to block Twilio on my phone because I use Twilio a lot.

My phone is a Iphone SE gen 5.

This is the For Loop I used.

 for (var i = 0; i < data.articles.length; i++) {
    client.messages.create({
    from: '+1 973-273-4932 ',
    to: '973-936-0212',
    body: data.articles[i].title + " Link: " + data.articles[i].url
  }, function(err, message) {
    if(err) {
      console.error(err.message);
    }
  });

  }

Thanks in advance.



via Johnsons Gaming

No comments:

Post a Comment