Laravel Command line post article to Google Blogger

純屬娛樂,寫一支 Laravel Console Command,可以呼叫 Browser 開一個連結向 Google 驗證後,自動發文到你所擁有的 Blogger。
Environment:
1. PHP >= 7.2
2. Laravel Framework
Composer Package install:
composer require pulkitjalan/google-apiclient詳細參考:https://github.com/pulkitjalan/google-apiclient
Google Cloud Console:
1. 去 Google Console 申請 Api Key, OAuth2.0 Access
2. OAuth2.0 設定的 Redirect Url 填:http://127.0.0.1:8000/authorization-code/callback
執行:
php artisan oauth:blogger
以下是範例程式:
php artisan oauth:blogger
以下是範例程式:
留言
張貼留言
回應不用錢,請多多益善!懶得寫字按個讚也是相當感謝!