Send SMS Via API Integration using PHP

Поділитися
Вставка
  • Опубліковано 27 січ 2025

КОМЕНТАРІ • 106

  • @pilotens3458
    @pilotens3458 3 роки тому +1

    I'm just getting started with coding, and I must say I love your video! Inspiring to see what you can do with some lines of code. Although my messages dosen't deliver, but I guess thats the APIs fault =)

    • @CodeFlix12
      @CodeFlix12  3 роки тому

      Which api did you use

    • @pilotens3458
      @pilotens3458 3 роки тому

      ​@@CodeFlix12 Im using the textlocal API. Here is a link to the file if you can see where I messed up? www.udrop.com/shared/tp8mpctak2y4ff1wyyis_aq7hzriwzatfjm-zvpmvywbcsiatbpphhpy8w7h-_o34g5o9kkub-jpit-o8l69qxw6v-9uba36kctdhl3lsgowrpa8rypkv2gs01nz3q8x

    • @CodeFlix12
      @CodeFlix12  3 роки тому

      Go to my website and you will find the source code

  • @subhasudagatti3828
    @subhasudagatti3828 2 роки тому

    imgetting 301 moved permanentaly...what to do can u help???

  • @aqsaashfaq2048
    @aqsaashfaq2048 5 років тому +2

    It's not working... alert window didn't popup

    • @CodeFlix12
      @CodeFlix12  5 років тому

      Can you please do a manual testing with testlocal first. If you have your testlocal working, this should be working fine. OR, is there any error occuring?

    • @aqsaashfaq2048
      @aqsaashfaq2048 5 років тому

      can you please help me to sort it out

    • @aqsaashfaq2048
      @aqsaashfaq2048 5 років тому

      @@CodeFlix12 localhost is working properly, when i insert number and select code etc... on clicking submit button , page load but didn't display alert

    • @aqsaashfaq2048
      @aqsaashfaq2048 5 років тому

      @@CodeFlix12 it didn't even display any error message

    • @CodeFlix12
      @CodeFlix12  5 років тому

      Can you tell me where is the code not working? Where is it breaking? Are you putting wrong number? First try your own number? I will help you in any way I can

  • @rohitpani9638
    @rohitpani9638 4 роки тому

    It's not working for me...... I mean it's showing me the alert saying message sent.... But it's not getting delivered. I tried by putting my contact number but it's not delivered to me.... Although I don't hav dnd enabled.........

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      Try checking if the api is getting hit or not

    • @rohitpani9638
      @rohitpani9638 4 роки тому

      Thanks for responding..... But how can I check what you said???

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      Use the api in your browser or postman

  • @harshilparmar9076
    @harshilparmar9076 6 років тому +1

    Wooh💯

  • @getsetcodesg3189
    @getsetcodesg3189 4 роки тому

    I am send the sms through Localhost but message not send

  • @EarninCryptoNep
    @EarninCryptoNep 4 роки тому

    do i need to activate send sms to worldwide option via support ?

    • @CodeFlix12
      @CodeFlix12  4 роки тому +1

      Yes. Usually its included but if does not work then Activate it

  • @rahulojha1755
    @rahulojha1755 4 роки тому +1

    It looks good...but I am new in these things...where should I start from?

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      So you should start with one of my first videos and it will definitely help it!

  • @coloradinho886
    @coloradinho886 4 роки тому +1

    Does this tool work in Brazil?

    • @CodeFlix12
      @CodeFlix12  4 роки тому +1

      Not sure but you can find a sms integration api and make it work just like this

  • @jairlegaspi9777
    @jairlegaspi9777 Рік тому

    still working?

  • @yasirtahirkheli74
    @yasirtahirkheli74 4 роки тому +1

    very useful tutorial ...but disgusting background music.....which...is........too loud.....too...u better use your own voice to make such useful videos...Thanks anyways n long live

  • @castme.z
    @castme.z 5 років тому +1

    just lower the volume of the tune a little bit

  • @tenent9708
    @tenent9708 5 років тому

    It shows that it is impossible to send messege between 9pm and 9am.Can it make possible?

    • @CodeFlix12
      @CodeFlix12  5 років тому

      These are the rules of the government and of the third party providing support. Can't help in such circumstances. We can try by changing the service provider if it helps.
      Thanks

    • @tenent9708
      @tenent9708 5 років тому +1

      @@CodeFlix12 Thank uuuuuuuu

  • @theman7050
    @theman7050 3 роки тому

    For a different sms gateway, only the api and url needs to be changed yes?
    Rest code remains same?

    • @CodeFlix12
      @CodeFlix12  3 роки тому +1

      Yes

    • @theman7050
      @theman7050 3 роки тому

      @@CodeFlix12 how do i prevent the page from refreshing after clicking on submit?
      It should show a tooltip that the request is sent. Any idea man?

    • @CodeFlix12
      @CodeFlix12  3 роки тому

      By using ajax

    • @theman7050
      @theman7050 3 роки тому

      @@CodeFlix12 if you could share a code for it then i'd greatly appreciate bro

    • @CodeFlix12
      @CodeFlix12  3 роки тому +1

      I don't have that sir

  • @examzone0
    @examzone0 4 роки тому

    Sir mere me httprequest class not found error show ho rha h

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      Follow video and try the api steps properly

  • @mohammedburhaanali4373
    @mohammedburhaanali4373 4 роки тому

    {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"}
    i am getting this error can anyone help?

  • @hatredkiller5255
    @hatredkiller5255 6 років тому

    i love your work man, you`re a god. but i have a question. If i want write a sms and send them to all phone numbers saved in a database how can i do it? what should i do? i think maybe in make a function that send 1 by 1 the message to all phone numbers until the primary key finish the registers in the database... but im okay or i should make another thing?

    • @CodeFlix12
      @CodeFlix12  6 років тому +2

      Thanks for the love brother!
      Coming to your question, you have to retrieve them from the database one by one, their is video of mine where i have retrieved from database you can watch that. Then after retrieving write a for loop where the API will send SMS to each number and it will work!

    • @hatredkiller5255
      @hatredkiller5255 6 років тому

      ​@@CodeFlix12alright , I'll work on that right now, thanks for all bro!

    • @CodeFlix12
      @CodeFlix12  6 років тому

      Anytime boy!

  • @endrismohammed9925
    @endrismohammed9925 4 роки тому

    I have a Short number, how can I manage the incoming SMS using Php

  • @derrickmugerwa5227
    @derrickmugerwa5227 3 роки тому

    I get this error, {"errors":[{"code":3,"message":"Invalid login details"}],"status":"failure"}

  • @smarthustlersclub6375
    @smarthustlersclub6375 3 роки тому

    Does this still work today?

  • @sandeepmahadasa5559
    @sandeepmahadasa5559 4 роки тому

    Sir , thanks for the explanation. I want to send sms to multiple persons . All the mobile numbers should be taken from Excel sheet and deliver to all the targeted numbers. Can you please provide any source code for that?.
    Thanks in advance

  • @oannguyen3205
    @oannguyen3205 5 років тому +1

    Hello, how can i use it on mautic software?

    • @CodeFlix12
      @CodeFlix12  5 років тому

      Hello, i haven't tried this code on any other software or cms, but i guess it should work as this code just contains logic which can be implemented anywhere

  • @cakedelivery
    @cakedelivery 5 років тому

    sir can you please help me out to integrate SMS API on wordpress, boughtitrom SMS HORIZON

    • @CodeFlix12
      @CodeFlix12  5 років тому

      I don't have much knowledge about boughtitrom SMS horizon. Bur for WordPress u can email.me
      Thanks

    • @cakedelivery
      @cakedelivery 5 років тому

      @@CodeFlix12 thans alot for your reply, can i have your e mail id please, or just e mail at indianbakeryatasansol@gmail.com

  • @TheBatTech
    @TheBatTech 4 роки тому

    is the message limited?

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      In free version yes but if you take paid version no

  • @saikrishnak9081
    @saikrishnak9081 4 роки тому

    Very helpful, Can u please help me on how to integrate truecaller api with a local project for fetching user data

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      The same way as you did this

  • @Abhisheksharma-gh4qu
    @Abhisheksharma-gh4qu 5 років тому

    Fatal error: Call to undefined function curl_init() in D:\xampp\htdocs\

    • @CodeFlix12
      @CodeFlix12  5 років тому

      Curl function was not defined. Please make sure the things before curl function are working correctly

    • @ifeanyinnaemego
      @ifeanyinnaemego 5 років тому

      Do I need to activate the curl from the php ini file

    • @CodeFlix12
      @CodeFlix12  5 років тому

      In most cases it is not necessary to do so. Like i did not need to do so. But if error occurs then you need to for sure

  • @manikantapabba1241
    @manikantapabba1241 5 років тому +1

    worked well....tq ..

  • @theekshanathennakoon
    @theekshanathennakoon 4 роки тому

    Please tell me that sri lankans can use this

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      You can try and i think it should work

  • @norivincentaposaga8537
    @norivincentaposaga8537 4 роки тому

    Hi. I am fairly new to php coding. I just wanna ask if I can integrate a different SMS API? Since Textlocal is not available in my country.

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      Yes you definitely can sir

  • @jeremiahazubuike3006
    @jeremiahazubuike3006 5 років тому

    nice tutorial....what about numbers that have DND(do not disturb) activated

    • @CodeFlix12
      @CodeFlix12  5 років тому

      For that even the telecom operators cannot help you brother! For that you have to use special kind of APIs and contact the API sender's!!

    • @jeremiahazubuike3006
      @jeremiahazubuike3006 5 років тому

      @@CodeFlix12 thanks

  • @WilsonXtrem007
    @WilsonXtrem007 5 років тому

    How to implement in CodeIgniter? Thanks

    • @CodeFlix12
      @CodeFlix12  5 років тому

      Hii! The implementation remains the same for all the php frameworks, you can customise your own result messages and other things but basic implementation remains same

  • @swargaraj
    @swargaraj 3 роки тому

    Screen Recorder name?

  • @akponahkester4408
    @akponahkester4408 4 роки тому

    Thanks for the tip :)

  • @gabrielivan8467
    @gabrielivan8467 6 років тому +2

    Thankyou :>

  • @aishwaryaiyer4097
    @aishwaryaiyer4097 6 років тому

    Excellent😍

  • @rahultripathi8931
    @rahultripathi8931 4 роки тому

    hello please help on dinstar api intregation

    • @CodeFlix12
      @CodeFlix12  4 роки тому

      Can you throw some light on dinstar

  • @codeflex5180
    @codeflex5180 6 років тому +2

  • @codeflex5180
    @codeflex5180 6 років тому +1

    The best!