Updated readme
This commit is contained in:
parent
b0f10940bd
commit
50c467be2b
1 changed files with 28 additions and 18 deletions
46
README.md
46
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
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue