August 2018 Summaries
32 posts from Twilio
Filter
Month:
Year:
Post Summaries
Back to Blog
plaintext
You are building a video chat application with JavaScript, Vue.js, and Twilio Programmable Video. The app requires users to provide a username before they can access the chat. Once a user enters their username, they will be able to join a room and start chatting. The rooms are represented by real-time audio, video, and/or screen-share sessions. Participants can share audio and/or video media with one another. Tracks represent individual audio and video media streams shared within a Room. LocalTracks capture the audio and video from the local microphone and camera. RemoteVideoTracks capture the audio and video tracks from other participants connected to the room. The app uses an event bus to communicate between components. When a user submits a new room, it triggers an event that is listened to by the Rooms component, which then appends the newly created room to the list of rooms. The Video component displays local and remote tracks in real-time. It also logs events such as when a participant joins or leaves the room. The app uses Vue.js CLI for scaffolding a new Vue project. The Node.js server is used to generate an access token, which is required for creating a chat room. Twilio Programmable Video API provides the functionality for building video chat applications. The app has a main component that houses other components such as AddRoom, Rooms, Logs, and Video. Each component plays a crucial role in the functioning of the application. When a user enters their username, they can start chatting by clicking on any room. Once a user clicks on a room, the app creates a new chat for that room and displays local and remote tracks. The app also logs events such as when a participant joins or leaves the room. Overall, this is a comprehensive guide to building a video chat application with Vue.js and Twilio Programmable Video.
Aug 30, 2018
4,198 words in the original blog post.
Twilio is used to send an MMS (Multimedia Messaging Service) with a gopher gif, created using Go programming language. To start, one needs to have a Twilio account and phone number, as well as the Go programming language installed. The twilio-go package is then installed, followed by creating a new Go program that imports the necessary libraries. A client variable is initialized with Twilio credentials, and a gif is parsed using the `url.Parse` method from the net/url library. Then, an MMS message is sent to a specified recipient number using the `client.Messages.SendMessage` method, which requires the sender's Twilio number, recipient number, and the gif as the message body. Finally, the program prints out the status of the sent message. The example code demonstrates how easy it is to send a gopher gif with Twilio using Go, and encourages further exploration of possibilities such as integrating this idea into an existing app or building an app using concurrency with Go's goroutines.
Aug 29, 2018
671 words in the original blog post.
Building an Emojidex with Python and the Twilio WhatsApp API involves setting up a development environment, installing necessary modules, and configuring the Twilio API Sandbox for WhatsApp. The application uses Flask to respond to incoming HTTP requests and Requests-HTML to parse HTML pages from the Emojipedia website. A helper function is created to query the Emojipedia API for an emoji's description and build a response. Once the basic structure is in place, the application can be extended by adding a reverse emoji lookup or exploring other possibilities with the WhatsApp API. The finished code is available on GitHub, and users are encouraged to reach out with questions or ideas.
Aug 28, 2018
886 words in the original blog post.
"By Phil Nash, published August 28, 2018. This article provides a step-by-step guide to building a collaborative playlist application using Ruby on Rails, Twilio for WhatsApp integration, and the Spotify Web API."
Aug 28, 2018
2,082 words in the original blog post.
This article describes how to parse HTML for book quotes with Python, Beautiful Soup, and Twilio's WhatsApp API. The author starts by setting up a developer environment using Python 3, Flask, and Ngrok, then uses Beautiful Soup to scrape the Goodreads quotes page and extract data from its HTML. The scraped data is then cleaned and formatted into printable quotes that can be sent as an outbound WhatsApp message. The article also covers how to set up Twilio's API sandbox for WhatsApp and send the extracted quotes with Twilio's API.
Aug 25, 2018
1,470 words in the original blog post.
To send a WhatsApp message using the Twilio API, developers can follow the step-by-step process outlined in this tutorial. The process begins by setting up a new .NET Core application and adding the Twilio NuGet package, then initializing the Twilio REST client with an Account SID and Auth Token. Next, developers need to call the MessageResource.Create method, passing in the sender's and recipient's WhatsApp numbers and a message body. After building and running the project, the code can be restored to ensure all packages are downloaded, and the application can be run again. The tutorial concludes by encouraging readers to progress to integrating their new application into existing projects and exploring additional resources for more ideas and tips.
Aug 22, 2018
494 words in the original blog post.
A user, Devin Rader, created a system using Azure Logic Apps and Twilio SMS to send daily text messages with SpaceX launch alerts. The workflow uses the SpaceX API to retrieve the next launch date, parses it, and checks if it's a launch day. If it is, the workflow sends a text message with details about the launch; otherwise, it sends a message stating that no rockets are launching today. The system can be built using a free Azure account and a trial Twilio Account, and it showcases the potential of Logic Apps to create custom workflows using various connectors and APIs.
Aug 21, 2018
1,097 words in the original blog post.
The Twilio API is adding support for WhatsApp messaging, allowing developers to send and receive messages on the platform. The Twilio API Sandbox provides a testing environment where developers can experiment with this new feature using PHP. To get started, developers need to set up their project with Composer, install the Twilio SDK, and link their personal WhatsApp account to the sandbox. They can then use templates or create interactive scripts to send messages, including a simple game-like interaction where the recipient tries to guess a number between 1 and 5. The process involves creating PHP scripts that interact with the Twilio API, using environment variables to store sensitive information such as account credentials. Once the script is complete, it can be deployed through a public URL, using ngrok to create a secure connection. With this new feature, developers can expand their reach and engage with users on WhatsApp.
Aug 21, 2018
1,346 words in the original blog post.
This tutorial demonstrates how to use Twilio's Programmable Voice and SMS APIs to send a text message during a phone call using Node.js and Express. The app accepts an incoming call, says something to the caller, and sends a follow-up text message with a secret password. To handle exceptions when sending an SMS to landline numbers, the app includes error handling to print the error message and continue playing the voice response. The tutorial covers setting up a development environment, creating an Express application, handling incoming calls, sending SMS replies, and implementing exception handling for landlines.
Aug 21, 2018
2,145 words in the original blog post.
This tutorial shows how to use Twilio's Programmable Voice and SMS APIs with Ruby and Sinatra to send a text message during a phone call. The process involves setting up a Twilio account, creating a Sinatra app that accepts incoming calls, sends an SMS reply, and handles exceptions for landline callers. The code uses the Twilio Ruby helper library and leverages environment variables to manage secret keys. After setting up ngrok for public access, configuring Twilio's phone number to use the app, and sending an initial message, the app can be modified to track delivery status, create conference calls, or handle exceptions for landline callers.
Aug 21, 2018
1,981 words in the original blog post.
This tutorial demonstrates how to send an SMS message during a phone call using Twilio's Programmable Voice and SMS APIs with Java and Spark web framework. The application accepts incoming calls, says something to the caller, and sends them a text message using Twilio's SMS API. The code handles exceptions for cases where the recipient is unable to receive SMS messages, such as when calling from a landline in certain locations. The app uses environment variables to store sensitive information like account SID and authentication token, ensuring secure access to these credentials.
Aug 21, 2018
2,149 words in the original blog post.
This tutorial demonstrates how to use Twilio's Programmable Voice and SMS APIs to send a text message during a phone call using C# and the .NET Framework. The code creates a web application that accepts incoming calls, says something to the caller, and sends the caller an SMS with a clue. The application uses Twilio's .NET helper library to interact with the API. To handle exceptions when sending SMS messages to landline numbers, the application includes error handling code.
Aug 21, 2018
2,193 words in the original blog post.
This tutorial teaches developers how to use Twilio's Programmable Voice and SMS APIs to send a text message during a phone call using Flask and Python. The application accepts an incoming phone call, says something to the caller, and sends the caller an SMS with a super-secret password. To do this, developers need to sign up for a Twilio account, get a Twilio phone number, create a Flask app that receives the call, and use ngrok to expose the app's URL to Twilio. The application also includes error handling for cases where the recipient is unable to receive SMS messages, such as if they are calling from a landline.
Aug 21, 2018
2,474 words in the original blog post.
This tutorial demonstrates how to use Twilio's Voice and SMS APIs with PHP and the Slim web framework to send a text message during a phone call. The application accepts an incoming call, says something to the caller, sends the caller a text message, and handles exceptions for landline callers. The code uses environment variables to securely store authentication information and ngrok to provide a publicly accessible URL for the application.
Aug 21, 2018
2,584 words in the original blog post.
The tutorial demonstrates how to use Twilio's Programmable Voice and SMS services to send a text message during a phone call by building a small web application using Ruby and the Sinatra framework. It guides users through the process of signing up for a Twilio account, obtaining a phone number with SMS and Voice capabilities, and setting up a Sinatra app to accept incoming calls and send SMS messages. By integrating Twilio's Ruby helper library, the app is designed to handle calls, deliver voice messages to callers, and send follow-up SMS messages using the Twilio API. The tutorial also explains how to manage Twilio authentication credentials securely via environment variables and how to use ngrok to expose the locally running application to the internet. Additionally, it addresses potential issues such as handling calls from landlines that cannot receive SMS and provides suggestions for further developing and enhancing the application, such as tracking message delivery status and exploring Twilio's API reference for more advanced functionalities.
Aug 21, 2018
2,307 words in the original blog post.
Setting up an Azure Function to send Chuck Norris jokes via WhatsApp using Twilio's API can be achieved with just a few steps. The process begins by creating an Azure account, setting up a Twilio account, and installing the WhatsApp Sandbox Channel. Then, an Azure Function is created, which involves selecting a C# template, naming the function, and adding dependencies for NuGet packages. The function includes two files: one to fetch a random joke from the Chuck Norris API using an HTTP client, and another to handle incoming API calls in the run.csx file. Once the function is set up, it can be added to the Twilio API for WhatsApp configuration, allowing users to receive jokes via WhatsApp messages. The example also highlights the potential of Azure Functions for small sections of code that can be reused across different projects, and their ability to scale automatically on the Consumption plan.
Aug 17, 2018
949 words in the original blog post.
Twilio has hired Christopher Konopka as a Developer Evangelist, bringing his experience in music and programming to the company. Growing up, Konopka was encouraged by his family to problem-solve and communicate effectively, which helped him develop into a visual learner who excelled at absorbing information through visual cues. His journey led him to Berklee College of Music, where he studied sound design and eventually became passionate about programming, particularly with Max/MSP and Csound. Konopka's experiences in open-source communities like GitHub and Stack Overflow helped him refine his learning style into project-based learning, enabling him to build modular blocks of code and share knowledge with others. He now applies this expertise as a Developer Evangelist at Twilio, where he develops IoT projects and documentation for new users, utilizing his understanding of programming languages and hardware to make the lives of others easier.
Aug 17, 2018
1,193 words in the original blog post.
As a Developer Evangelist at Twilio, Lizzie Siegle is excited to be back with the team after her internship experience last summer. She was fortunate to have learned a lot during her time on the team, including writing blog posts and diving into various Twilio products such as Video and ARKit. The evangelism team is like a family to her, and she feels welcomed and included despite being the only intern. Lizzie is passionate about inspiring and equipping developers to build the future of communications, which aligns with Twilio's motto. She also appreciates the consideration for burnout, as the team encourages work-life harmony and recognizes the importance of time off. With her first full-time role, Lizzie is eager to serve developers and engage with them on various activities such as meetups, coding, and gaming.
Aug 16, 2018
559 words in the original blog post.
Twilio's Flex is a programmable contact center platform that allows developers to build custom applications for customer engagement, with features such as omnichannel support, artificial intelligence, and self-service flows. The company recently hosted a hackathon where 25 developers from around the world built demos of what they could do with Flex, providing valuable feedback on the product's console provisioning experience and documentation. A consulting firm like Perficient has already started working with Flex, finding it to be an exciting platform for building customer-driven sales and service solutions. The company envisions using Flex for future projects such as assessment and pilot projects, custom integrations, and self-service or bot interactions in the customer care process.
Aug 15, 2018
1,170 words in the original blog post.
Twilio, a company that focuses on developer communities, hosted a Flexathon, an event where 25 developers from 3 countries gathered to build with Twilio's new programmable contact center platform, Flex. The experts who created Flex were present to guide and answer questions. Feedback from the event was incorporated into the product, improving its console provisioning experience and documentation. AdHawk, a company that simplifies digital advertising for small businesses, participated in the Flexathon to build a tool that connects brick-and-mortar businesses with consumers online. They found Flex to be a completely programmable solution, allowing them to customize their data and integrate it with their application's API. The platform is expected to help AdHawk qualify leads and improve customer engagement for its clients.
Aug 15, 2018
561 words in the original blog post.
Twilio hosted a Flexathon, an event where 25 developers from around the world came together to build applications using Twilio's new programmable contact center platform, Flex, at Twilio HQ. The attendees shared their demos and provided feedback on the Flex console provisioning experience and documentation. Feedback gathered during the Flexathon was incorporated into the product, allowing Twilio to onboard additional customers. Scorpion developer Josiah Elliot attended the event and found it fantastic, praising Flex for its simplicity and power, which gave him control over his features without worrying about the details. He believes Flex will make his life easier by handling complex logic and tasks, allowing him to focus on delivering a better product to his clients. The platform is expected to enable Scorpion to scale up their chat product massively and deliver new features.
Aug 14, 2018
664 words in the original blog post.
The article explains how to create a talking text feature using Twilio, .NET Core, Cognitive Services and Azure Storage. The project involves sending an incoming SMS to the application, which converts it into speech using Microsoft's Speech Service API, stores the audio in Azure Blob Storage, and plays it back over a phone call initiated by Twilio. The code is written in C# and uses various NuGet packages, including Twilio and Cognitive Services. To test the project, ngrok can be used to create a public-facing URL that maps to the local application. Once set up, users can send themselves a text message, which triggers the talking text feature, allowing them to receive a phone call with the audio playing back their message.
Aug 10, 2018
2,118 words in the original blog post.
The use of phone numbers as part of user profiles and two-factor authentication mechanisms has led to attacks on voicemail systems, which can be exploited by attackers to gain access to accounts. Twilio's Verify and Authy APIs offer solutions to mitigate these vulnerabilities by requiring additional user interaction, such as voice calls, to verify the user's access to their phone number. However, even with these measures in place, there are still limitations and potential risks, including answering machine detection issues, which can create a frustrating experience for users. To address these challenges, Twilio has implemented features such as randomizing prompts and using Answering Machine Detection (AMD) to detect if it's a person or machine, making it more difficult for attackers to use voicemail greetings to trick the system.
Aug 10, 2018
887 words in the original blog post.
This article describes how to build a WhatsApp bot using Python, Rhymebrain API, and Twilio API. The bot generates portmanteaus for certain words that are sent to it, allowing users to come up with puns on the fly. To set up the project, developers need to create a Twilio account, install required libraries, and connect their own WhatsApp account with the sandbox. The code uses Flask as the web framework, requests module to make HTTP requests to Rhymebrain API, and Twilio module for generating TwiML responses. Developers can test the code by running it in Python shell and sending messages to the bot. Once set up, the bot can be used to respond to incoming WhatsApp messages with portmanteaus, making it a fun tool for poetry enthusiasts and pun lovers alike.
Aug 09, 2018
877 words in the original blog post.
Twilio has announced that it now supports Amazon Polly, adding over 50 voices, 25 languages, and new APIs to its Programmable Voice applications. This integration allows developers to control synthesized speech output, including volume, pitch, rate, and pronunciation, giving them more control over interactive voice applications. With the built-in Basic TTS supported by Twilio now being replaced by Amazon Polly, developers can choose from a vast selection of voices and customize their application's text-to-speech behavior with ease. The integration also includes features such as central management through the Twilio Console and support for SSML, allowing developers to create more lifelike speech experiences. Pricing starts at $0.0008 per 100 spoken characters, and Twilio plans to continue adding new voices and features in the future.
Aug 06, 2018
1,084 words in the original blog post.
Programmable Wireless has expanded its global coverage by adding 57 new countries, bringing the total number of supported countries to 185. The company provides cellular connectivity for IoT solutions and offers quota-based pricing models, as well as pay-as-you-go data rates, with SMS pricing also available on a pay-as-you-go basis. These updates enable customers to reach their users in more locations worldwide, starting today. Programmable Wireless has seen significant growth, with customers building innovative products such as last-mile transportation services and smart home automation platforms. The company appreciates its customers' support and looks forward to seeing what they build next.
Aug 06, 2018
277 words in the original blog post.
Two-Factor Authentication (2FA) is becoming increasingly important for account security as data breaches continue to rise. While traditional methods of 2FA such as SMS or voice calls have their drawbacks, push authentication offers a more user-friendly and secure alternative. Companies like Yahoo and Google are using push authentications to replace passwords at login time entirely. However, it is essential for businesses to cater to all consumers and their environments by offering multiple 2FA options, including SMS and voice calls. Technology vendors have a responsibility to make advanced 2FA technology available to even the smallest of businesses, ensuring that everyone has access to better account security. Online finance companies are particularly vulnerable targets, making robust and secure services essential for financial technology companies (fintechs).
Aug 06, 2018
1,647 words in the original blog post.
Twilio has published its seventh semi-annual Transparency Report for 2018, which reveals that most of the 1474 government requests for information received by Twilio came from European countries. The company also recently announced that it had received approval for its Binding Corporate Rules (BCRs), a set of internal rules governing data transfers in compliance with EU data protection laws. These documents demonstrate Twilio's commitment to transparency and strong data privacy principles, as stated by its CEO Jeff Lawson.
Aug 03, 2018
441 words in the original blog post.
Twilio Studio is now Generally Available, offering a visual development environment for creating customer experiences using messaging and voice. The platform has improved features and operational maturity, with full support from Twilio's global customer support team. It supports multiple messaging channels, including Facebook Messenger, LINE, WhatsApp, and others, and integrates with Twilio Flex, a programmable contact center. The new pricing model offers two choices: traditional Pay-As-You-Go pricing or an Enterprise Tier for additional features. With Studio, developers can create custom flows, automate customer interactions, and integrate with other services like Salesforce CRM. The platform is designed to simplify development and deployment, allowing users to get started quickly by selecting templates and dragging-and-dropping components.
Aug 03, 2018
544 words in the original blog post.
To build an npm search bot with WhatsApp and Twilio, you need a Twilio account, the WhatsApp Sandbox Channel, and a webhook that responds to incoming HTTP requests. You can use Twilio Functions to host your webhook in a serverless function directly on Twilio. The bot will query the npm database using the axios package and reply with the name of the first package found. The response is formatted using a separate function that strips away whitespace and indentation, and joins the results into a neat string. The bot can be deployed to other channels like SMS without doing any code changes, making it a great example of how Twilio and WhatsApp can be used together.
Aug 02, 2018
1,191 words in the original blog post.
The Twilio API allows developers to build WhatsApp text-to-emoji translators using Node.js and the `moji-translate` module, which powers Monica Dinculescu's emoji translation projects. To get started, users need a Twilio account and the WhatsApp Sandbox Channel, and can follow along by building their own app using Twilio Functions. The app uses the `moji-translate` module to translate incoming messages into emojis, and can be deployed with just a few lines of code. Once built, users can test the app by sending messages to the sandbox number or connecting their own WhatsApp account. With this technology, developers can create more interactive applications using Twilio, WhatsApp, and other channels through the Twilio messaging API.
Aug 01, 2018
709 words in the original blog post.
The Twilio API for WhatsApp provides a simple and reliable way to reach users directly in the WhatsApp application, allowing developers to add messaging experiences to existing workflows or applications in minutes. This API is compatible with Twilio developer tools like Functions, Sync, Debugger, and API Explorer, and eliminates operational overhead by hosting and managing encryption keys and messages between businesses and users. With the same API used for SMS, developers can now easily build innovative messaging experiences for their users on WhatsApp, engaging them in the most popular messaging application in the world, which is used by more than 1.5 billion people daily. The Twilio API also works seamlessly with other messaging channels like Facebook Messenger, RCS, and LINE, allowing developers to focus on building customer experiences without writing custom code for each channel.
Aug 01, 2018
1,025 words in the original blog post.