[GH-ISSUE #232] Documentation typo #122

Closed
opened 2026-02-27 23:20:56 +03:00 by kerem · 1 comment
Owner

Originally created by @Hurstwood on GitHub (Nov 14, 2017).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/232

There is a typo in the documents at http://spotipy.readthedocs.io/en/latest/#authorization-code-flow

util.prompt_for_user_token(username,scope,client_id='your-app-redirect-url',client_secret='your-app-redirect-url',redirect_uri='your-app-redirect-url')

Should be...

util.prompt_for_user_token(username,scope,client_id='your-app-client-id',client_secret='your-app-client-secret',redirect_uri='your-app-redirect-url')

Or to be clearer to new programmers you could have...

clientID = 'Paste your client ID here'
clientSecret = 'Paste your client secret here'
redirectURL = 'Paste your redirect url here'  # We/Spotify suggest http://localhost:8888/callback/ or http://localhost/

token = util.prompt_for_user_token(username,scope,client_id='your-app-client-id',client_secret='your-app-client-secret',redirect_uri='your-app-redirect-url')
Originally created by @Hurstwood on GitHub (Nov 14, 2017). Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/232 There is a typo in the documents at http://spotipy.readthedocs.io/en/latest/#authorization-code-flow `util.prompt_for_user_token(username,scope,client_id='your-app-redirect-url',client_secret='your-app-redirect-url',redirect_uri='your-app-redirect-url')` Should be... `util.prompt_for_user_token(username,scope,client_id='your-app-client-id',client_secret='your-app-client-secret',redirect_uri='your-app-redirect-url')` Or to be clearer to new programmers you could have... ``` clientID = 'Paste your client ID here' clientSecret = 'Paste your client secret here' redirectURL = 'Paste your redirect url here' # We/Spotify suggest http://localhost:8888/callback/ or http://localhost/ token = util.prompt_for_user_token(username,scope,client_id='your-app-client-id',client_secret='your-app-client-secret',redirect_uri='your-app-redirect-url') ```
kerem 2026-02-27 23:20:56 +03:00
Author
Owner

@stephanebruckert commented on GitHub (Jan 13, 2020):

Doc is now fixed

<!-- gh-comment-id:573888828 --> @stephanebruckert commented on GitHub (Jan 13, 2020): Doc is now fixed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotipy#122
No description provided.