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