#120: Modify the Create Date of a File
I wanted to test a Python script that puts files into folders based on their creation time. But how can I create files in the past without using a time machine?
I wanted to test a Python script that puts files into folders based on their creation time. But how can I create files in the past without using a time machine?
Tweepy is not only good for housekeeping, but we can also use it for more positive interactions on Twitter. Let's see how we can like and retweet tweets.
Not everyone on Twitter is interested in a friendly conversation. Some people are just there for mischief and harassment. Let's look at how we can use Tweepy to block and mute accounts.
The number of tweets written on Twitter every second is massive. With the streaming clients we can get a glimpse on what is going on in near real-time. Let's find out what Tweepy offers and how the V1 and V2 endpoints differ.
Searching Twitter from Tweepy is a lot less troublesome than working with lists. Let's explore the search API of Twitter and the V2 client of Tweepy.
Lists are a helpful Twitter feature that allows us to keep up with interesting accounts. Let's look at how we can use Tweepy to work with those lists.
Tweepy is very good at abstracting the Twitter API. But what can we do if Tweepy stops working from one day to another?
With the user access tokens stored, we can now explore the Twitter API. A good starting point is to look at the accounts you follow and on who follows you.
So far we acquired the user authentication token in the command line. This works at development time, but our users need a more friendly way to hand over their tokens. Let's look what we need to do to use Tweepy in a Flask application and how we can get the user token from Twitter.
When you explore the Twitter API, you will get a lot of 401 errors. Let's look how we need to set the permissions for our App so that we can explore the Twitter API without interruptions.