Twitter v2 Update for Our Python Books and Videos
Updated September 7, 2023—We’re leaving this post up for anyone who might still have access to the Twitter APIs. The Twitter API’s free tier is now so limited that most of what we demonstrate in our Twitter chapter/lesson is longer available. Higher levels of paid access are too expensive for average users and students. The first paid tier ($100/month) provides basic capabilities and no streaming access (the free tier used to allow access to 1% of the daily live stream). The second paid tier gives more access and some streaming capability, but costs $5000/month and caps the total number of tweets at 1,000,000. Significant access to the live stream of tweets costs tens of thousands of dollars per month. There has been some discussion of an academic/research tier, but as of now, we have not seen any indication of when or if this will be available.
- Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and the Cloud
- Python for Programmers
- Python Fundamentals LiveLessons
On August 18, 2022, we discovered that new Twitter developer accounts cannot access the Twitter v1.1 APIs on which we based Intro to Python‘s Chapter 13, Data Mining Twitter, and two case studies in Chapter 17, Big Data: Hadoop, Spark, NoSQL and IoT. Chapters 13 and 17 correspond to Chapters/Lessons 12 and 16 in our Python for Programmers book and Python Fundamentals LiveLessons videos.
Twitter users who already had Twitter developer accounts can still access the Twitter v1.1 APIs, but most of our Python content users will not fall into this category.
We’ve updated all our Twitter examples to the Twitter v2 APIs now. In addition, for the Intro to Python textbook, we need to update the instructor’s manual solutions and test-item file.
- Updated version of the Intro to Python textbook’s Chapter 13 https://deitel.com/wp-content/uploads/2022/09/intro-to-python-chapter-13-data-mining-twitter-v2.pdf
- Updated version of the Python for Programmers Chapter 12 https://deitel.com/wp-content/uploads/2022/09/python-for-programmers-chapter-12-data-mining-twitter-v2.pdf
- O’Reilly Online Learning users can also access the Python for Programmers chapter at: https://learning.oreilly.com/library/view/python-for-programmers/9780135231364/ch12.xhtml
Updated instructor slides for Chapter 13 of the textbook should be available now in the Pearson Instructor Resource Center (IRC). Other updated instructor supplements will be updated there as we complete them.
Updated source-code files are available in the books’ IntroToPython and PythonForProgrammers GitHub repositories at https://github.com/pdeitel.
I’ll be re-recording the Python Fundamentals LiveLessons videos’ Lesson 12 soon.