Send SMS Via API Integration using PHP

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2018
  • Hello guys!
    this new video is on API integration and how to send SMS to any country using PHP. You can try this website textlocal.in which gives some credits free for trial.
    Happy Coding
    --------------------****-------------------------------****----------------------------------
    SOURCE CODE: www.dropbox.com/s/scf9uakcusx...
    --------------------****-------------------------------****----------------------------------
    Link to my previous videos:
    search bar using Php and MySQL: • search bar using Php a...
    Curl function and making http and https requests using php: • CURL Function and Maki...
    Retrieving Data From Database Using PDO object in PHP: • Retrieving Data From D...
    -----------------****-------------------------------****----------------
    NCS: Music Without Limitations
    NCS Spotify: spoti.fi/NCS
    Free Download / Stream: ncs.io/arrow
    Connect with NCS
    • / nocopyrightsounds
    • / nocopyrightsounds_
    • / nocopyrightsounds
    • / ncsounds
    • spoti.fi/NCS
    NCS: Music Without Limitations
    NCS Spotify: spoti.fi/NCS
    Free Download / Stream: ncs.io/crest
    NCS
    ➞ SoundCloud / nocopyrightsounds
    ➞ Facebook / nocopyrightsounds
    ➞ Twitter / ncsounds
    ➞ Google+ google.com/+nocopyrightsounds
    ➞ Instagram: / nocopyrightsounds
    Thanks For watching!

ความคิดเห็น • 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

  • @harshilparmar9076
    @harshilparmar9076 5 ปีที่แล้ว +1

    Wooh💯

  • @gabrielivan8467
    @gabrielivan8467 5 ปีที่แล้ว +2

    Thankyou :>

  • @akponahkester4408
    @akponahkester4408 3 ปีที่แล้ว

    Thanks for the tip :)

  • @manikantapabba1241
    @manikantapabba1241 4 ปีที่แล้ว +1

    worked well....tq ..

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว

      My pleasure 🙌🙌

  • @subhasudagatti3828
    @subhasudagatti3828 ปีที่แล้ว

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

  • @hatredkiller5255
    @hatredkiller5255 5 ปีที่แล้ว

    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  5 ปีที่แล้ว +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 5 ปีที่แล้ว

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

    • @CodeFlix12
      @CodeFlix12  5 ปีที่แล้ว

      Anytime boy!

  • @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!

  • @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

  • @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

  • @oannguyen3205
    @oannguyen3205 4 ปีที่แล้ว +1

    Hello, how can i use it on mautic software?

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว

      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

  • @aishwaryaiyer4097
    @aishwaryaiyer4097 5 ปีที่แล้ว

    Excellent😍

  • @endrismohammed9925
    @endrismohammed9925 3 ปีที่แล้ว

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

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      What kind of short num

  • @norivincentaposaga8537
    @norivincentaposaga8537 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      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

  • @sandeepmahadasa5559
    @sandeepmahadasa5559 3 ปีที่แล้ว

    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

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      I don't have any source code for that but if you try it is possible

    • @sandeepmahadasa5559
      @sandeepmahadasa5559 3 ปีที่แล้ว

      @@CodeFlix12 please help me to solve this problem..

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      Yes I will help you all I can

    • @sandeepmahadasa5559
      @sandeepmahadasa5559 3 ปีที่แล้ว

      @@CodeFlix12 how could I contact you

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      Email

  • @coloradinho886
    @coloradinho886 3 ปีที่แล้ว +1

    Does this tool work in Brazil?

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว +1

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

  • @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

  • @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

  • @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

  • @castme.z
    @castme.z 4 ปีที่แล้ว +1

    just lower the volume of the tune a little bit

  • @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

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว +1

      Sure. And thanks

  • @WilsonXtrem007
    @WilsonXtrem007 4 ปีที่แล้ว

    How to implement in CodeIgniter? Thanks

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว

      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

  • @jairlegaspi9777
    @jairlegaspi9777 ปีที่แล้ว

    still working?

  • @rohitpani9638
    @rohitpani9638 3 ปีที่แล้ว

    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  3 ปีที่แล้ว

      Try checking if the api is getting hit or not

    • @rohitpani9638
      @rohitpani9638 3 ปีที่แล้ว

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

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      Use the api in your browser or postman

  • @TheBatTech
    @TheBatTech 3 ปีที่แล้ว

    is the message limited?

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      In free version yes but if you take paid version no

  • @examzone0
    @examzone0 3 ปีที่แล้ว

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

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      Follow video and try the api steps properly

  • @getsetcodesg3189
    @getsetcodesg3189 3 ปีที่แล้ว

    I am send the sms through Localhost but message not send

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      Use api from textlocal

  • @smarthustlersclub6375
    @smarthustlersclub6375 2 ปีที่แล้ว

    Does this still work today?

  • @Abhisheksharma-gh4qu
    @Abhisheksharma-gh4qu 4 ปีที่แล้ว

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

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว

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

    • @ifeanyinnaemego
      @ifeanyinnaemego 4 ปีที่แล้ว

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

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว

      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

  • @theekshanathennakoon
    @theekshanathennakoon 3 ปีที่แล้ว

    Please tell me that sri lankans can use this

    • @CodeFlix12
      @CodeFlix12  3 ปีที่แล้ว

      You can try and i think it should work

  • @mohammedburhaanali4373
    @mohammedburhaanali4373 3 ปีที่แล้ว

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

  • @derrickmugerwa5227
    @derrickmugerwa5227 2 ปีที่แล้ว

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

    • @CodeFlix12
      @CodeFlix12  2 ปีที่แล้ว

      Your login for the api is invalid

    • @CodeFlix12
      @CodeFlix12  2 ปีที่แล้ว

      Check credentials

  • @aqsaashfaq2048
    @aqsaashfaq2048 4 ปีที่แล้ว +2

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

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว

      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 4 ปีที่แล้ว

      can you please help me to sort it out

    • @aqsaashfaq2048
      @aqsaashfaq2048 4 ปีที่แล้ว

      @@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 4 ปีที่แล้ว

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

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว

      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

  • @rahultripathi8931
    @rahultripathi8931 4 ปีที่แล้ว

    hello please help on dinstar api intregation

    • @CodeFlix12
      @CodeFlix12  4 ปีที่แล้ว

      Can you throw some light on dinstar

  • @swargaraj
    @swargaraj 3 ปีที่แล้ว

    Screen Recorder name?

  • @codeflex5180
    @codeflex5180 5 ปีที่แล้ว +2

  • @codeflex5180
    @codeflex5180 5 ปีที่แล้ว +1

    The best!