From c2a4c0bad5c883f06f9009da01787141d4bcd37f Mon Sep 17 00:00:00 2001 From: sober Date: Fri, 20 Oct 2023 20:42:37 +0800 Subject: [PATCH] updatereadme (#527) --- README-CN.md | 6 ++++++ README.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README-CN.md b/README-CN.md index 61ec2c60c66..8955107b261 100644 --- a/README-CN.md +++ b/README-CN.md @@ -576,6 +576,12 @@ python3(python) run_page/nike_sync.py eyJhbGciThiMTItNGIw****** https://www.strava.com/oauth/authorize?client_id=${your_id}&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=read_all,profile:read_all,activity:read_all,profile:write,activity:write ``` +Example: + +``` +https://www.strava.com/oauth/authorize?client_id=115321&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=read_all,profile:read_all,activity:read_all,profile:write,activity:write +``` + ![get_all_permissions](https://raw.githubusercontent.com/shaonianche/gallery/master/running_page/get_all_permissions.png) 5. 提取授权后返回链接中的 code 值 diff --git a/README.md b/README.md index f17a99d5f38..85ec8427b4a 100644 --- a/README.md +++ b/README.md @@ -413,6 +413,12 @@ Created successfully: https://www.strava.com/oauth/authorize?client_id=${your_id}&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=read_all,profile:read_all,activity:read_all,profile:write,activity:write ``` +Example: + +``` +https://www.strava.com/oauth/authorize?client_id=115321&response_type=code&redirect_uri=http://localhost/exchange_token&approval_prompt=force&scope=read_all,profile:read_all,activity:read_all,profile:write,activity:write +``` + ![get_all_permissions](https://raw.githubusercontent.com/shaonianche/gallery/master/running_page/get_all_permissions.png) 5. Get the `code` value in the link