Level up your Twilio API skills in TwilioQuest, an educational game for Mac, Windows, and Linux. Download Now
Build the future of communications.
Start building for free
  • By Marcos Placona
    Sende eine SMS-Nachricht mit C# in 30 Sekunden Sende eine SMS-Nachricht mit C# in 30 Sekunden


    Hallo und Danke fürs Lesen! Dieser Blogpost ist eine Übersetzung von Send an SMS Message with C# in 30 Seconds. Während wir unsere Übersetzungsprozesse verbessern, würden wir uns über Dein Feedback an help@twilio.com freuen, solltest Du etwas bemerken, was falsch übersetzt wurde. Wir bedanken uns für hilfreiche Beiträge mit Twilio Swag :)

    Du programmierst eine .NET-App und musst SMS-Nachrichten versenden. Was wäre, wenn ich dir sagen würde, dass du das mit der Twilio-API in 30 Sekunden erledigen kannst? Hier ist ein Video, das dir zeigt, wie schnell es geht, eine SMS-Nachricht mit C# und der Twilio-API zu senden.

    Du kannst allerdings nichts aus einem Video kopieren und einfügen. Hier findest du den gesamten Code, den du benötigst. …

    Read More
  • By Marcos Placona
    Senden einer SMS über Android Senden einer SMS über Android


    Hallo und Danke fürs Lesen! Dieser Blogpost ist eine Übersetzung von How to Send an SMS from Android. Während wir unsere Übersetzungsprozesse verbessern, würden wir uns über Dein Feedback an help@twilio.com freuen, solltest Du etwas bemerken, was falsch übersetzt wurde. Wir bedanken uns für hilfreiche Beiträge mit Twilio Swag :)

    Die Vorgehensweise zum Senden von SMS-Nachrichten über Webanwendungen wird häufig behandelt, aber wie gehen wir beim Senden einer SMS-Nachricht über Android vor? Dabei müssen wir uns zwar mit einigen besonderen Überlegungen auseinandersetzen, aber insgesamt sollte alles innerhalb von 15 Minuten erledigt sein. Legen wir los.

    Das Problem

    Twilio ist zwar eine REST-API, an die wir theoretisch direkt eine HTTP-Anfrage senden könnten, aber das hieße auch, dass wir unsere Twilio-Anmeldeinformationen in der App speichern müssten, was ein erhebliches Sicherheitsrisiko darstellt. Ein Angreifer könnte die Anwendung dekompilieren, die Anmeldeinformationen extrahieren und unser Twilio-Konto für jeden beliebigen Zweck missbrauchen.

    Um dieses Risiko …

    Read More
  • By Marcos Placona
    Envoyer un SMS avec C# en 30 secondes Envoyer un SMS avec C# en 30 secondes

    Vous construisez une application .NET et vous avez besoin d’envoyer des messages SMS. Et si je vous disais que vous pouvez le faire en 30 secondes avec l’API Twilio ? Voici une vidéo qui vous montre à quel point il est rapide de pouvoir envoyer un SMS avec C# et l’API Twilio.

    Vidéo : Comment envoyer un SMS avec C# en 30 secondes

    Mais puisque vous ne pouvez pas copier/coller à partir d’une vidéo, voici tout le code dont vous aurez besoin.

    Installez la librairie helper Twilio pour .NET à votre projet en utilisant le gestionnaire de package de votre console (Package Manager).

    PM> Install-Package Twilio
    

    Importez le namespace Twilio dans votre classe et initialisez le Twilio Client REST en lui passant votre Account SID et Auth Token - qui sont disponibles sur le portail Twilio.

    using System;
    using Twilio;
    using Twilio.Rest.Api.V2010.Account;
    using Twilio.Types;
    
    namespace twilio_sms
    { …
    Read More
  • By Marcos Placona
    Handling your business calls and texts like a... boss! boss-mode.jpg

    I dread the idea of having ever to change my phone number. Be it because I'm getting spammed, or because someone thinks it's a good idea to call me during the night every night for the...rest...of...my...life. I'd much rather throw away all my business cards with a disposable phone number than to dispose of my real phone number which I had for 15 years now.

    To make sure we never have to dispose of our real number, today we are going to look at how to provision new phone numbers that you can give out to people or put on your business cards without leaving the Twilio Console.

    Our tools

    • A Twilio account - you can get one for free here
    • (optional) A picture frame - because you're going to want to put your picture up looking like a boss when you finish this.

    Handling text messages

    The first …

    Read More
  • By Marcos Placona
    My grandma didn’t know what to wear anymore s1f2u5nt1hu83asPxcpjrcwdVpCHBScbQOFHBhQ5O-Iv3BhOF8vA3AZX4ir46GwdAKMhaWPo28DMW0Swj8J4n3H8pMz_a7JUNwy-mhn-ps-phYbDJ8JmDx59veovYSg0bouMVRaY

    Last time I visited my grandma, she was quite –rightfully– upset with the fact that one of the telephone services she’s been using for decades had been disabled without notice.

    Her daily routine for the past few decades has been to dial a number provided by her phone company every morning and be greeted with that day’s weather forecast. Said service would give her just enough to know what to wear and whether to bring an umbrella or not so she could get on with her day.

    The millennial inside me very quickly came up with the “I’ll just get her an Amazon Echo” solution, but the idea fell flat when I realised her house doesn’t have WiFi. Even if it did, I would be effectively volunteering for eternal family support on that device.

    So I took a step back and decided to build her the experience she loved …

    Read More
  • By Marcos Placona
    Send an SMS Message with Kotlin in 30 Seconds Send an SMS Message with Kotlin in 30 Seconds

    You’re building a Kotlin app, and you need to send SMS messages. What if I said you can get it done in 30 seconds with the Twilio API? Here’s a video showing you how quick it is to send an SMS message with Kotlin and the Twilio API.

    Video: How To Send SMS with Kotlin in 30 Seconds

    But you can’t copy and paste from a video, so here’s all the code you will need. Or you can just get it from this repository.

    Add the Twilio helper library for Java to your Gradle or Maven file.

    compile group: "com.twilio.sdk", name: "twilio", version: "7.17.+"
    

    Initialise the Twilio REST Client passing your Account SID and Auth Token, which are available on the Twilio Console.

    import com. …
    Read More
  • By Marcos Placona
    Building Serverless Functions with Kotlin jWT30xQgLqFc2WFqSOWrmycygF7CrUC_lDvWpyiL4U5hS_ge31Rq-LeQnHAGopIBfr7mTmD5FK3NzcLUjO1InWwfEOJAQPY9zEpr7B1To4ztuIyV021RWsrV6HqhtTkUTBNEmu-

    Serverless functions are great especially when used as backend for mobile apps. A while ago I wrote a blog post showing you how to Send an SMS message from Android and always wanted to change its backend application to not only use Kotlin, but also be a serverless function.

    Having a backend is important because we’re using an API and while Twilio is a REST API and you could make an HTTP request to it directly, you would need to store your Twilio credentials inside your app. This is not secure because an attacker can extract your account credentials very easily from it.

    Let’s look at how to change our backend to be a serverless function that is hosted on IBM’s Cloud Function.

    Our tools

    • I will be using IntelliJ IDEA with the Gradle Plugin for the code but feel free to use your preferred IDE as long as …
    Read More
  • By Marcos Placona
    My SIGNAL London 2017 Schedule SIGNAL London 2017

    In just under a week we will be hosting SIGNAL London for the second time with even more talks, hands-on learning, live demos and the first ever European $BASH.

    Every single one of the talks at SIGNAL London has been carefully selected, here’s the full schedule. But if I were to choose, these are the talks that I’m personally most excited about:

    [11:15] Sharpening my tools

    We all know how important 2FA is to keep all your logins and data secure. With most 2FA being done via SMS messages, hackers a few months ago managed to use an exploit on the SS7 Network to hack a bank. In his session, B. Byrne will talk about this vulnerability and ways to improve an SMS integration to make it work be …

    Read More
  • By Marcos Placona
    How to build Alexa skills with Kotlin bin-colour

    My local council operates on a fortnightly basis where they collect household waste one week, and recycling and garden waste the following. All I have to do is make sure I roll the correct wheelie bin once a week to a designated place so they can come and collect.

    I want to emphasise the word “correct” here since for household it’s the black bin, and for recycling and garden waste the orange and green bins, and I’ve lost count of how many times I came back home to find I’ve rolled the wrong bin colour for that week.

    To solve that I decided to create an Alexa skill that I can just ask which the correct colour for that week is. My local council offers a pdf file that tells me the bin colour of each week, so every odd week is orange and green, and every even week is …

    Read More
  • By Marcos Placona
    Building a fully featured burner phone with Kotlin jYjvOBIKVWapsjbGMKuRHIqddPnzLAwytYMbrrkySu6wr-zX4Ym_wCq6M7fSMhui3HHR-5FTsUAV35LUaIDqLbXV6l_KXq_Ts2nSM2Ks-P6Emq5jM057wTeXuQiheuJYDgFWCx8v

    You walk into your favourite coffee shop and today they ask you if you’d like to register for a loyalty card. All they need is your name and phone number.

    On the way back you stop for groceries and the cashier asks if you’d like to enter a prize draw. All they need is your name and phone number.

    It’s finally time to put that lawn mower you’ve not used in years on Craigslist but at the end of the ad, it asks you to enter your phone number so buyers can contact you directly.

    messages.gif

    You need a burner phone!

    Let’s look at how we can use Kotlin and Twilio to build and deploy a burner phone application so that we can use multiple phone numbers for these situations. If you just want to download the code you can have a look at this repo or deploy it to Heroku …

    Read More
  • Newer
    Older
    Sign up and start building
    Not ready yet? Talk to an expert.