Home / Companies / Twilio / Blog / October 2017

October 2017 Summaries

28 posts from Twilio

Filter
Month: Year:
Post Summaries Back to Blog
This tutorial demonstrates the integration of Twilio's Programmable Chat service into a React application using Node.js and Express. The process involves cloning a Git repository with a completed chat interface, implementing the Programmable Chat SDK, creating a token server to authenticate access tokens, configuring a proxy for requests to the token server, obtaining a token from the server, creating a chat client instance, joining a channel, and displaying messages from the Programmable Chat service. The code covers various aspects of the integration, including handling promises, error management, and updating the application's state with new data. The tutorial concludes by providing guidance on further improving the implementation and offering resources for users with questions or suggestions.
Oct 31, 2017 1,972 words in the original blog post.
This tutorial introduces basic statistics using Python with NumPy and Jupyter Notebook. It starts by explaining what statistics is and its two subfields: descriptive and inferential statistics. Descriptive statistics summarize a dataset, while inferential statistics make inferences about a population from a sample. The tutorial then covers the mean and variance operations, which describe central tendency and spread, respectively. It also introduces histograms and probability mass functions (PMFs), which represent distributions of data. The tutorial concludes by highlighting the importance of considering context when working with data and how statistical concepts like PMFs can provide a more accurate view of a dataset's distribution.
Oct 31, 2017 1,531 words in the original blog post.
At Google I/O 2017, Google announced official support for the Kotlin programming language. The language has been in development for a few years and has interoperability with existing Java code, making it an attractive choice for developers already familiar with Java. Twilio, the company behind the article, was looking to improve their Android SDK by reducing boilerplate code and improving maintainability. They used Android Studio 3.0 and its Kotlin support to refactor their Java code into cleaner, more idiomatic Kotlin code, utilizing features like autogenerated UI element accessors, apply(), and Anko for defining clean views programmatically. The company also explored JavaScript support with Kotlin, demonstrating the language's versatility in web programming. Overall, Kotlin offers a more pleasant coding experience and improved maintainability, making it an attractive choice for developers looking to improve their code.
Oct 31, 2017 829 words in the original blog post.
What Twilio is doing to protect your data is a priority for the company as it relates to the new General Data Protection Regulation (GDPR) in Europe. To ensure GDPR compliance, Twilio has identified five key product requirements: access control, account and record deletion, security, store and process, and audit and log. These requirements aim to limit access to personal data, ensure its secure storage and processing, and provide transparency into data handling practices. To meet these requirements, Twilio is implementing new features such as phone number redaction, message body redaction, and call recording encryption, which allow users to restrict the storage and transmission of sensitive data. These efforts demonstrate Twilio's commitment to providing a secure and trusted platform for businesses to manage their customer conversations, while also helping them meet GDPR compliance obligations.
Oct 30, 2017 1,097 words in the original blog post.
The authors conducted chaos testing on the Envoy service mesh sidecar using HTTP/2 upgrades to test its performance under various network conditions. They found that while HTTP/2 provides improvements over HTTP/1.x in some areas, it can also perform worse than HTTP/1 when there is packet loss on the network due to head-of-line blocking at the TCP layer. This issue affects both multiplexed streams within a single TCP connection and the overall throughput of the system. The authors conclude that while HTTP/2 may not be suitable for all use cases, it's essential to conduct thorough chaos engineering tests to identify potential architectural tradeoffs and ensure exceptional reliability and resiliency at scale.
Oct 27, 2017 1,859 words in the original blog post.
Twilio has released its new DataTracks API, which allows developers to build shared AR experiences using Twilio Video. The example app, "DesignConsult," demonstrates how designers and clients can communicate about furniture placement in 3D space using audio, video, and data tracks. The app uses ARKit and Twilio's new DataTracks API to send messages between the designer and client, who can then use these messages to place objects in their virtual environment. The client can also see the designer's actions in real-time through a shared video feed, while the designer can communicate with the client using audio tracks. The app showcases the potential of Twilio's new DataTracks API for building powerful, interactive AR experiences.
Oct 26, 2017 2,134 words in the original blog post.
{{
Oct 26, 2017 2,734 words in the original blog post.
This year's devastating North Bay firestorm in California has prompted Twilio, Tipping Point, and other Bay Area leaders to launch a fundraising initiative called Band Together Bay Area. The event will feature a benefit concert at AT&T Park on November 9th with notable performers like Metallica, Dave Matthews, and G-Eazy, with all ticket sales going directly to support relief efforts. Additionally, donations can be made through the Tipping Point Emergency Relief Fund or by texting "together" to 20222, with Ticketmaster also donating processing fees to the cause. The concert aims to raise funds for long-term recovery in low-income communities hardest hit by the fires.
Oct 25, 2017 323 words in the original blog post.
Firefox has supported screen capture since version 33 using the mediaSource constraint in the mediaDevices API, which allows developers to access a stream of the user's screen. However, before Firefox version 52, this capability was only available on sites that were added to an allow list. Since Firefox version 52, this feature is available to all sites served over HTTPS, but requires a self-signed TLS certificate or ngrok for local testing due to security restrictions imposed by Firefox. The code for implementing screen capture in Firefox involves using the `navigator.mediaDevices.getUserMedia` method with the `video` object and specifying the desired media source, such as "screen", "window", or "application".
Oct 25, 2017 1,053 words in the original blog post.
Speech Recognition is now Generally Available on the Twilio Programmable Voice API, allowing developers to convert speech to text and analyze intent during any voice call, with support for 119 languages and dialects, a simple pay-as-you-go pricing structure, and no models to train or machine learning to orchestrate. It can be integrated directly into existing applications using the Gather verb and provides features such as real-time transcriptions, keyword spotting, and conversational bots, making it suitable for use cases like IVR phone tree navigation, data capture, and customer support. With its simplicity and broad language support, developers can easily integrate Speech Recognition into their applications to improve user experience and enhance communication.
Oct 25, 2017 656 words in the original blog post.
Twilio has developed a solution that integrates its 2-factor authentication (2FA) service with the FreeRADIUS RADIUS server, which is widely used for authenticating VPN users. This integration allows users to receive push notifications or time-based one-time passwords (TOTPs) for an additional layer of security when accessing the internet via VPNs like OpenVPN and Cisco AnyConnect. The solution works through four different workflows: SoftToken authentication with challenge response, SoftToken authentication without challenge response, OneTouch authentication, and a combination of push notification 2FA with TOTP fallback. This integration is designed to provide flexibility in choosing the best approach for user experience, allowing users to select from various configurations and messaging options.
Oct 24, 2017 590 words in the original blog post.
Twilio Functions is a serverless environment that allows developers to build and run Twilio applications using Node.js code. It provides benefits such as security, no infrastructure requirements, auto-scaling, and native integration with the Twilio REST Helper Library. The Phone Verification API is used for fraud prevention and transaction verification, allowing users to verify phone numbers and codes sent via SMS or voice calls. To get started with Twilio Functions, developers can create a new function and use the JSON Response template. The code provided demonstrates how to start and check the verification of a phone number using the Phone Verification API. The process involves sending an HTTP request with the required parameters and verifying the response from the Phone Verification API.
Oct 24, 2017 1,058 words in the original blog post.
To receive and respond to text messages with Node.js, Express, and Twilio, first install the necessary dependencies, including Express and Twilio's Node library. Create an Express app, add a route for GET requests, and start listening on port 3000. Set up your Twilio account by purchasing a phone number and configuring it in the Twilio dashboard. Use ngrok to provide a publicly accessible URL to your app. Finally, add a route to handle incoming text messages, which will respond with a TwiML response containing a message and an optional picture. When a text message is received, Twilio sends a POST request to the /sms route, triggering the callback function, which responds with TwiML instructing Twilio to send a message back in response.
Oct 20, 2017 779 words in the original blog post.
The Twilio Authenticator SDK now supports offline authentication with TOTP, a solution that generates a unique passcode derived from a shared secret between the app and the service being authenticated. This allows users to authenticate without an internet connection, addressing limitations of push authentication which requires online connectivity. The updated SDK enables developers to fully embed customized security authentication into mobile apps and services, providing a secure user experience regardless of network availability.
Oct 19, 2017 423 words in the original blog post.
Twilio has announced that their Client SDK now supports Safari, bringing the latest major browser on par with WebRTC support for voice and video communications. With this update, developers can create applications that cater to a vast global audience, including those using Safari, by utilizing features such as click-to-call functionality, CRM dialers, and conference calling. The Twilio Client SDKs now enable developers to build robust communication solutions for their customers or users, making it easier to support virtually every customer who might want to call them from anywhere in the world.
Oct 18, 2017 290 words in the original blog post.
Developers can use ARKit on iOS with Swift and Twilio Programmable Video to create augmented reality applications. To get started, developers need an Apple device with an A9 or later processor, iOS 11, XCode 9, and a Twilio account. They can set up their environment by creating a new XCode project and selecting the Augmented Reality App template. Then, they can use Twilio Video to connect to a room and share video and audio in real-time. The app uses SceneKit for 3D content and ARKit for tracking motion and placing virtual content on real-world surfaces. Developers can customize configurations when connecting to a room and start capturing frames when another person joins the room. Testing the app involves cloning the Video Quickstart repo, generating an access token, and replacing it in the ViewController.swift file. With these steps, developers can create immersive video apps that complement AR experiences.
Oct 17, 2017 1,777 words in the original blog post.
The California wildfires have caused significant damage, prompting a need for reliable information on air quality. A SMS service has been created to provide residents with timely air quality reports and recommendations by sending their zip code to 206-274-5525. The initiative aims to ensure people without access to technology can stay informed and safe during the crisis. A volunteer developer built this service, Josh Atkin, is seeking feedback on social media platforms.
Oct 17, 2017 179 words in the original blog post.
Twilio has made it simple to configure and manage team access to the Twilio Console, allowing developers to easily create a single-user tenant with different API keys for production, development, and QA environments. However, this approach has limitations, such as not being able to share accounts or having all information accessible to a single user. Larger organizations can benefit from using multi-user tenants with separate access permissions, but even these setups have limitations, including no way to prevent administrators from gaining access to production API keys. To securely isolate tiers within Twilio, users can use the Subaccount feature, which allows them to roll up expenses and segment access and responsibilities between users and projects. Ultimately, Twilio offers various ways for organizations to share access to their account, including single-user tenants, multi-user tenants, and Subaccounts, as well as its Enterprise Plan, which provides additional features and security measures.
Oct 13, 2017 666 words in the original blog post.
Jacob Talbot's article highlights key insights shared by Matt Scott of Team Rubicon during the Peer to Peer World Virtual Conference, focusing on effective strategies for peer-to-peer fundraising campaigns. Scott, who significantly increased Team Rubicon's revenue to over $15 million, emphasizes the importance of time-bound campaigns lasting 4-6 weeks to maintain donor engagement without fatigue. He advises creating strong, thematic campaigns that resonate with supporters' interests and connect directly to tangible outcomes, as demonstrated by the Kiteboarding 4 Cancer initiative. Scott also advocates for reducing barriers to participation by offering coaching and resources, targeting high-potential supporters, and using the right communication channels and messages to engage them. Lastly, he underscores the significance of expressing gratitude and detailing the impact of contributions to forge long-lasting relationships, suggesting personalized thank-you notes and impact reports as effective tools for donor retention.
Oct 13, 2017 888 words in the original blog post.
A developer created a simple one-sided chat interface using JavaScript and React, building upon the Create React App framework. The application allows users to submit messages, which are then displayed in a list with distinct styles for system logs, user messages, and other users' messages. The chat interface also includes a form for creating new messages. To improve the implementation, the developer suggests integrating a service like Twilio's Programmable Chat and exploring additional build tools such as Webpack and Babel.
Oct 13, 2017 2,405 words in the original blog post.
To build screen sharing capabilities into a WebRTC video chat application, you need to access the screen capture capabilities of Google Chrome from within a web application. This can be achieved by writing a Chrome extension that allows access to the screen, application windows, and browser tabs. The extension must be installed in Chrome before it can be used. The process involves creating a manifest file, writing the background script, and using the chrome.desktopCapture.chooseDesktopMedia method to pop up the screen sharing choice. Once the user authorizes access to the screen, the extension returns either an unsuccessful response or the ID of the stream to the web page using sendResponse. The web page can then use this stream ID to capture the desktop using the mediaDevices API.
Oct 12, 2017 1,843 words in the original blog post.
Twilio has announced an enhancement to its Calls Per Second (CPS) feature for SIP Trunking termination, called Master CPS, which allows users to save money and gain more control over capacity planning. With Master CPS, users can provision their master account with the required CPS for each region and pay per region, rather than paying per trunk or channel as in traditional CPS. This new feature is available in beta and is ideal for businesses with multiple trunks across sub-accounts that need increased CPS but are unsure of their exact requirements. Master CPS provides a pooled resource used by any trunk in the given account or corresponding sub-accounts, allowing users to over-provision on the trunk level while only paying for the maximum required at the master account level.
Oct 11, 2017 828 words in the original blog post.
You're building a Django app to receive and respond to text messages using Twilio's SMS service, and you've successfully set up your environment, installed the necessary dependencies, built a basic Django app, and added Twilio SMS functionality. You've also configured your Twilio account with an ngrok URL to make your app publicly accessible and added a route to handle incoming text messages.
Oct 10, 2017 913 words in the original blog post.
Twilio has announced the SIM Data Sessions Rest API, which provides detailed information about internet session connections between devices and cellular networks. The API returns a list of resources containing data on radio towers, location, packets uploaded/downloaded, and more. This information can be accessed through the Console's SIM section or by using the Python helper library. Additionally, Twilio has improved its Console experience, allowing users to visualize connectivity information for individual SIMs. Remote network connection resets are also now possible, enabling automation of Tier 1 support functions. Furthermore, Twilio is making it easier for IoT products to integrate with cellular services, including sending and receiving commands when a SIM is in the ready status.
Oct 09, 2017 498 words in the original blog post.
The Texas Department of Transportation (TxDOT) is utilizing the Twilio Notify API, a programmable SMS service, to provide real-time traffic updates and alerts to commuters via text messages. The system, called My35, has been highly successful, with over 5,700 subscribers, 65% of whom use the service daily, and has been praised for its personalization and timeliness. To scale the system, TxDOT implemented Twilio's Notify product, which enabled rapid delivery of alerts, reducing distribution time from 20 minutes to under 60 seconds. The system has improved safety, reduced congestion, and provided valuable information to drivers, making it an effective tool in facilitating economic development along the I-35 corridor.
Oct 06, 2017 784 words in the original blog post.
npm has recently announced its support for two-factor authentication (2FA) and has encouraged developers to secure their accounts with this additional layer of security. To take advantage of 2FA, users need to install the latest version of npm and log in to their account, then set up an authenticator app such as Authy, which offers features like multi-device support and code encryption. Once enabled, 2FA requires both a password and a device-generated one-time code for authentication, making it harder for unauthorized access. Users can enable 2FA by running the `npm profile enable-tfa` command and following the prompts to set up their Authy app, which will then require an OTP code for future updates or package publishing. With 2FA enabled, users' npm accounts and packages are more secure, and the Node.js ecosystem is made a safer place.
Oct 05, 2017 769 words in the original blog post.
GDPR is a major piece of legislation coming out of the European Union that regulates the processing of personal data, which could significantly impact businesses regardless of their location. The regulation defines "data subjects" as identified or identifiable natural persons and outlines two main roles: controllers and processors. Controllers are those who determine the purposes and means of personal data processing for their own business needs, while processors act on behalf of controllers, following their instructions only. Businesses must map out what personal data they process to determine whether they are acting as a controller or processor, as their obligations under GDPR depend on these roles.
Oct 04, 2017 1,267 words in the original blog post.
Twilio's Sync for IoT` allows real-time state synchronization on IoT devices, enabling applications like `blinking an LED in real-time`. The product is currently in Developer Preview and requires registration. Users can manage their devices as "Fleets" in the console and create a default deployment and service instance. Device authentication can be done using X.509 client certificates or key/password pairs. To use Sync, users need to create a document with a primitive like `Document` and initialize its key-value pairs. The ESP8266 Dev Board can be used to read and update documents using the `Arduino IDE`. Users can send updates to the document from the command line using `cURL`, allowing them to control the LED's state remotely. With Sync, users can build various IoT projects, such as a GPS tracker or a real-time dashboard.
Oct 02, 2017 940 words in the original blog post.