34 lines
766 B
Markdown
34 lines
766 B
Markdown
|
|
# Fedi Link Fetcher
|
|
|
|
A pair of PHP scripts that extract links from your Mastodon / snac bookmarks and add them to:
|
|
|
|
- YouTube Playlist (Google oAUTH API)
|
|
- Readeck (simple API token)
|
|
|
|
## TODO instructions readeck API
|
|
|
|
how to get tokeb in web ui
|
|
|
|
## TODO isntructions Youtube PlayList
|
|
|
|
|
|
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)
|
|
|
|
|
|
composer require google/apiclient:^2.0
|
|
|
|
|