From e1995ab1b0ad52f628584c6ea232c77987078d0b Mon Sep 17 00:00:00 2001 From: santiago Date: Wed, 21 May 2025 01:10:31 +0000 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c75bb38d..bee7c0de 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A pair of PHP scripts that extract links from your Mastodon / snac bookmarks and - YouTube Playlist (Google oAUTH API) - Readeck (simple API token) -## Instructions to get a Readeck token +## 1. Getting a Readeck token In Web UI: @@ -17,7 +17,7 @@ Save it as: /_credentials/token.json ``` -## Instructions to create Youtube Playlist and get a token +## 2. Getting a Youtube API token - Go to the Google Cloud Console: - Project > APIs & Services > Credentials @@ -30,7 +30,7 @@ Save it as: /_credentials/client_secret.json ``` -## Add your Google account as a test user +## 3. Add your Google account as a test user - Go to Google Cloud Console > OAuth consent screen - ~> Audience @@ -38,13 +38,13 @@ Save it as: - Add your Google email for your Youtube account -## Add google Api things with PHP Composer +## 4. Download Google API Client with PHP Composer ``` composer require google/apiclient:^2.0 ``` -# Add to your cron +## 5. Add the command to your cron to fetch the links regularly ``` */5 * * * * /home/snac/fedi_slurp/fedi_slurp.php > /home/snac/logs/fedi_slurp.log 2>&1 ```