O'Reilly logo

Sams Teach Yourself the Twitter API in 24 Hours by Chia Hwu, Jon Wu, Ben Ho, Christopher Peri

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 8. Twitter OAuth

What You’ll Learn in This Hour:

What is a class and why do we use it?

What is OAuth? (Briefly)

How to create a simple Twitter class object

How to add new functions to your Twitter class object

How our class deals with Twitter connection errors

What Is a Class and Why Do We Want to Use It?

The rewrite of PHP5 from PHP4 includes updating and upgrading the underlying Object model, which includes the class object. First, what is an object? Object-oriented programming, or OOP, has been around since the 1960s but did not really enter the mainstream until the early 1990s. OOP programming is pretty common in today’s languages, and although we are using PHP in this book, most languages you may use to build your Twitter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required