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 Diane Phan
    How to Start an Instagram Food Account Using Twilio WhatsApp API, OpenAI's GPT-3 Engine, and Clarifai API header - How to Start an Instagram Food Account Using Twilio WhatsApp API, OpenAI's GPT-3 Engine, and Clarifai API

    The camera eats first - it's the motto that fuels a lifestyle for some people, especially those on Instagram. Nowadays, people make separate social media accounts dedicated to the food they eat - whether it's homemade, fine dining, or simply snacking. Many people often seek a huge following on their food-dedicated Instagram accounts too because that gives them the opportunity to gain potential sponsorships, shoutouts, and just the satisfaction of knowing that people are interested in sharing the love for food.

    However, there's often pressure of crafting the perfect post. Social media influencers go through great lengths to capture the most appealing photo or to come up the wittiest and most eye-catching caption to go with the photo. There's a lot of creative effort that goes into maintaining a social media presence. Wouldn't it be nice if you had someone else write the captions for you so that you can …

    Read More
  • By Diane Phan
    How to Host a Social Media Giveaway Using Twilio WhatsApp API, Python, and SQLite3 header - How to Host a Social Media Giveaway Using Twilio WhatsApp API, Python, and SQLite3

    November and December can be a fun time, especially when it comes to giving thanks and giving to others. If you are an Instagram influencer or follow someone that has a big brand name and social media presence, then you'll know that people will often try to interact with their audience or gain more followers by hosting a giveaway. This is often a great tactic to gaining sponsorships from other brands through promoting giveaways.

    Now I don't know what it's like to host a giveaway to thousands of people, make sure that each person is qualified to enter, and then select a winner, because that's too much for one person to handle. So I thought, what if Twilio can help get the job done?

    In this tutorial, you will learn how to host a social media giveaway and generate a winner within one second with the help of Python, SQLite3, …

    Read More
  • By Diane Phan
    Build a Ghostwriting App for Scary Halloween Stories with OpenAI's GPT-3 Engine and Task Queues in Python header - Build a Ghostwriting App for Scary Halloween Stories with OpenAI's GPT-3 Engine and Task Queues in Python

    Halloween is just around the corner, and not only is it the prime time for tricks and treats, but it's also fun for those of you who love a thrill in storytelling. If you love writing – or simply want to get spooked out by what a computer can generate – then this will be a fun project for you to check out.

    In this tutorial we will implement a task queue in Python to make multiple calls to OpenAI's GPT-3 engine to generate fictional text. Plus, you'll have a neat program to leave on your computer and trick people who look at your screen into thinking that an actual ghost is writing a story!

    Tutorial Requirements

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • An OpenAI API key. Request beta access here.
    • A …
    Read More
  • By Diane Phan
    Control a Spooky Ghost Writer for Halloween with OpenAI's GPT-3 Engine, Python, and Twilio WhatsApp API header - Control a Spooky Ghost Writer for Halloween with OpenAI's GPT-3 Engine, Python, and Twilio WhatsApp API

    October is a pretty cool month because not only do the days get dark faster, but Halloween is just around the corner. If you enjoy finding new ways to trick your friends or spook someone out, this article has a fun and unique idea for you! Whether you're already tech savvy or a beginner at coding, you might find it enjoyable to build an app to spook someone out this year!

    Using Python, GPT-3, and Twilio WhatsApp API, you have the chance to control a ghost writer and have them write a story directly onto your computer screen. No witch magic involved, just Twilio magic!

    Tutorial Requirements

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • An OpenAI API key. Request beta access here.
    • A free or paid Twilio account. If you are new …
    Read More
  • By Diane Phan
    How to Send Bulk SMS with Twilio in 5 Different Languages header - How to Send Bulk SMS with Twilio in 5 Different Languages

    When you have the magic of Twilio in your hands, it can be easy to get carried away coming up with ideas for new projects. You may also understand that Twilio has rate limits when it comes to queueing messages depending on your project use case. This may lead to difficulty in figuring out how to best communicate with your contacts.

    However, the Twilio blog's got your back when it comes to finding helpful technical content regarding Twilio's products and services, such as Programmable SMS API Basics and Best practices and workaround solutions that utilize open source tools!

    In this issue, we'll discuss solutions for sending bulk SMS without hitting rate limits and efficiently dealing with 429 error codes. No matter what programming language community you belong in, here are some posts that can offer a new tool for you!

    Python Solutions

    There's plenty of ways to perform tasks …

    Read More
  • By Diane Phan
    Introducing Developer for Technical Content, Diane Phan header - Introducing Developer for Technical Content, Diane Phan

    The book I'm holding here is Gayle Laakmann McDowell's "Cracking the Coding Interview" which I brought along on my very first trip to Walt Disney World in September 2019 to motivate me to get a job as an engineer someday.

    The life of a college student is difficult, especially when they're trying so hard to build their own path into an industry that seems so impossible to reach. Lots of hours were spent teaching oneself how to set up the first github.io page and playing with the git devils while plowing through 10 tabs of tutorial pages for the same subject. Because hey, how do you know which tutorial would actually work and answer your specific questions? The lovely thing about the Internet is that there are plenty of resources, but which ones are really worth the time?

    At least, that's how it was for me, especially because I was …

    Read More
  • By Diane Phan
    How to Connect a Twilio WhatsApp Python Project to SQLite3 header - How to Connect a Twilio WhatsApp Python Project to SQLite3

    Once you get started with the Twilio WhatsApp API, you'll realize that it's really fun and easy to get carried away coming up with ideas for new projects. But what happens when one of your projects takes off and you want to scale up?

    If your project requires storing message data, then building a database might be one of the first steps in expanding your project.

    In this tutorial, you will learn how to store Twilio WhatsApp data in a secure database that allows you to insert, update, and delete data as you please.

    Tutorial requirements

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.
    • SQLite3 in order to open the SQLite shell and make executable scripts.
    • Some prior knowledge in SQL logic or a willingness to learn. 

    Choose a database

    If this is your first …

    Read More
  • By Diane Phan
    How to Run Your First Task with RQ, Redis, and Python header - How to Run Your First Task with RQ, Redis, and Python

    As a developer, it can be very useful to learn how to run functions in the background while being able to monitor the queue in another tab or different system. This is incredibly helpful when managing heavy workloads that might not work efficiently when called all at once, or when making large numbers of calls to a database that returns data slowly over time rather than all at once.

    In this tutorial we will implement a RQ queue in Python with the help of Redis to schedule and execute tasks in a timely manner.

    demo of the RQ queue running on the terminal

    Tutorial Requirements

    • Python 3.6 or newer. If your operating system does not provide a Python interpreter, you can go to python.org to download an installer.

    Let’s talk about task queues

    Task queues are a great way to allow tasks to work asynchronously outside of the main application flow. There are many task queues in Python to …

    Read More
  • By Diane Phan
    Meet Your Personal Michelin Star Chef with OpenAI's GPT-3 Engine, Python, and Twilio WhatsApp API header - Meet Your Personal Michelin Star Chef with OpenAI's GPT-3 Engine and Twilio WhatsApp API

    Being stuck in our own homes for months has given most people the motivation to invest in cookware and learn how to cook or bake by reading articles or watching YouTube videos. However, we all know baking the same loaf of bread 3 times can get old. Wouldn't it be nice to be able to talk to a friend who is actually a famous chef or someone who worked at a Michelin star restaurant? That would be an awesome way to pick up new tips on baking the most scrumptious lemon cake or creamy artichoke soup.

    Using GPT-3 and Twilio WhatsApp API, you have the chance to talk to a Michelin star chef to ask questions on what you should cook next and even unlock a new way to bake a favorite snack such as scones.

    GPT-3 engine generating text about scones

    Follow this tutorial to make your own Chef Bot and figure out how to …

    Read More
  • By Diane Phan
    How to Use a Task Queue in Python to Send Twilio SMS header - How to Use a Task Queue in Python to Send Twilio SMS

    It’s frustrating to deal with an API that enforces a rate limit, especially if you have a US or Canada phone number and can only send one SMS message per second. Fortunately as a developer, we can find a workaround solution so that you can continue to send out text messages timely and stick to your schedule without receiving 429 status codes.

    In this tutorial we will implement a task queue in Python to send Twilio SMS messages in a timely manner.

    gif of SMS text message demo alongside a timer

    Tutorial Requirements

    Let’s talk about task queues

    Task queues …

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