From 50c467be2b3495f4d11a453446a65bd27c1c58ef Mon Sep 17 00:00:00 2001 From: santiago Date: Wed, 21 May 2025 00:59:11 +0000 Subject: [PATCH] Updated readme --- README.md | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 45e9046c..66ead3a9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ - # Fedi Link Fetcher A pair of PHP scripts that extract links from your Mastodon / snac bookmarks and add them to: @@ -8,27 +7,38 @@ A pair of PHP scripts that extract links from your Mastodon / snac bookmarks and ## TODO instructions readeck API -how to get tokeb in web ui +Explain here how to get readeck token in the web UI. -## TODO isntructions Youtube PlayList +## Instructions to create Youtube Playlist and get a token + + * Go to the Google Cloud Console: + * Project > APIs & Services > Credentials + * Create oauth client ID + * for TV and limited INPUT + * Download the OAuth 2.0 Client ID JSON file + +save as +``` +./_credentials/client_secret.json +``` + +## Add your Google account as a test user + * Go to Google Cloud Console > OAuth consent screen + * ~> Audience + * Under “Test users” + * Add your Google email for your Youtube account - 1. Go to the Google Cloud Console: - • Project > APIs & Services > Credentials - -create oauth client ID -for TV and limited INPUT - • Download the OAuth 2.0 Client ID JSON file - -save as /home/snac/youtube_list/client_secret.json - -Option 1: Add your Google account as a test user - 1. Go to Google Cloud Console > OAuth consent screen -~> Audience - 2. Scroll to “Test users” - 3. Add your Google email (e.g. jacques.lema@gmail.com) - +## Add google Api things with PHP Composer +``` composer require google/apiclient:^2.0 +``` + +# Add to your cron +``` +*/5 * * * * /home/snac/fedi_slurp/fedi_slurp.php > /home/snac/logs/fedi_slurp.log 2>&1 +``` +