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 ...
Get Sams Teach Yourself the Twitter API in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.