Blog/Podcast

Twitter API: Using OAuth to access Twitter

Twitter has changed their REST API to require authentication for every request. This means that we can no longer use simple JSONP requests from our web pages to access Twitter data. In this post, I describe how to write a PHP server script to make an authenticated Twitter request using the tmhOAuth library, and create a simple web application to use that server script to access Twitter data. And if you've read Head First HTML5 Programming, you'll want to read this, so you can update your Chapter 7 code!

Learning JavaScript Functions, Part 3

The third in a several-part series on JavaScript functions, taking you from first principles to advanced concepts. In this video, Elisabeth describes how to create and experiment with functions using the JavaScript console. This video is a follow on to JavaScript...

Twitter API: Accessing timeline data

In Chapter 7 of Head First HTML5 Programming, we create a JSONP web application called Tweetshirt. We use Twitter JSON data to create a tweet menu, so you can choose a tweet to add to a <canvas> element. Unfortunately, Twitter has deprecated the public API...

Learning JavaScript Functions, Part 2

The second in a several-part series on JavaScript functions, taking you from first principles to advanced concepts. In this video, Eric describes how function names are just like other JavaScript variables: they're variable names pointing to function values....

Learning JavaScript Functions, Part 1

The first in a three-part series on JavaScript functions, taking you from first principles to advanced concepts. https://vimeo.com/50809522/ Other videos in this series Part 2 of JavaScript Functions Part 3 of JavaScript...

Reader Question: passing functions as values?

Another great question from a reader of Head First HTML5 Programming is about passing functions as values. This comes up when using the Geolocation API: the way you get your location is to call the built-in function getCurrentPosition() and pass in two arguments,...

Reader Question: What is an API?

A couple of weeks ago, I got a great question from a reader of Head First HTML5 Programming: What is a API? Is it like a constructor function or is it just an object or something else? We use the term "API" frequently in Head First HTML5 Programming because the...

Getting started with HTML5’s Web Sockets

Web Sockets is a new addition to HTML5 that allows you to create a persistent connection with a server for communication. With Ajax, because you're using HTTP to communicate, the connection between your client and the server must be reestablished each time you want...

Don't miss out!!

Don't miss out on brain-friendly WickedlySmart updates early access to books and general cool stuff! Just give us your email and we'll send you something about once a week. 

You have Successfully Subscribed!