Crash Course: APIs w/ Facebook & Twilio

Christopher Castiglione, Co-founder of One Month

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
11 Lessons (1h 52m)
    • 1. What Are APIs [8:12]

      8:11
    • 2. Databases Part 1 [14:16]

      14:05
    • 3. Databases Part 2 [2:59]

      2:58
    • 4. APIs Read & Write Data [5:29]

      5:23
    • 5. APIs: XML & JSON [9:12]

      9:11
    • 6. The Facebook API: Basics & Like Button [12:10]

      12:09
    • 7. The Facebook API: The Graph API [9:24]

      9:23
    • 8. The Facebook API: The Graph Explorer [29:02]

      29:01
    • 9. Facebook: Recap & Beyond [3:44]

      3:43
    • 10. The Twilio API [12:08]

      12:07
    • 11. APIs for Every Occasion [5:35]

      5:33

Project Description

Code an app using data from the Facebook API and Twilio API

Understanding APIs

  1. If you've gotten this far use the Graph Explorer to see what other data you can get from Facebook.

    If you've gotten this far use the Graph Explorer to see what other data you can get from Facebook.

    How might you bring data about your "likes" into the project? More advanced users are challenged to dig into the code and figure this out. The answers have been provided for if you get stuck. An answer video will also be provided to walk you through the steps. Good luck! 

  2. Answer these questions to test your understanding of the concepts covered.  

    Answer these questions to test your understanding of the concepts covered. 

  3. Answers to questions from Step 2.

    Don't worry if you get stuck! Find the answers in Unit 2.

Developing Apps With APIs

  1. Sign up for the Twilio API and get a Twilio phone number.  

    Sign up for the Twilio API and get a Twilio phone number. 

  2. Make an app that does the following:  

    Make an app that does the following: 

    • When you call the number it will something back to you and music
    • It will send an SMS to you
    • It will a message 
  3. Link to your app.

    Also include screen shots and/or your Twilio phone number so that classmates can call your app. Describe what you built and why.

Additional Resources

  • This class is seen as very interactive, and proactive. I challenge you to pause the video when you get confused, browse the reference sites I've mentioned in the videos, use Google to search the Web for help when you get confused, and if none of that works... jump into the Q&A section for help. 

    --------------------------------------

    PREREQUISITES (If you are going to code along):  

    1) Server: You will need to have a domain and hosting setup. This costs about a total of $15 for the domain, and $6 per month for hosting with Hostgator. You can use any hosting. But, here's the setup for domain + hosting: 
    http://www.pfnp.me/how-to-setup-hosting-with-hostgator/

    Alternatively (ie. instead of what I wrote above), you could just use a local server for free. This will work for the Facebook Graph API lesson and the database, but not for the Twilio / Facebook "like" button lesson.

    Options for a local server: 

    2) FTP (download only 1 of the following) 

    You will need to upload and download files via FTP. 

    If you have MAC: http://panic.com/transmit/ (free for 5 days, $34 after)

    OR 

    MAC/PC http://cyberduck.ch/ (free) - See the video below "Why Do I Need A Web Server?" for a tutorial on getting this setup. 

    3) Text Editor 

    Download & Install: http://www.sublimetext.com/ 

    --------------------------------------

    PRIMER VIDEOS: 

    These videos are here to give you a background on HTML, CSS and coding concepts in general. If you know this already feel free to skip, otherwise, here's a primer! 

    a) How to download & install Sublime Text 

    b) HTML / CSS Primer: This might help if you've never used a text editor. 

    c) Why Do I Need A Web Server?

    This explains how HTML/CSS is different than a server side language like PHP. It also walks you through installing MAMP. 

    ----------------------------------------
    CRASH COURSE: APIS & INTERACTIVE DATA
    Unit 1 Class Files

  •  Answers to questions from Unit 1 here

Student Projects