I'm referencing both the bookmarks lookup code and this code for my project(I'm a total noob), and I noticed that the latter isn't using any authorization response for their twitter authentication but the former is. This has gotten me confused and wondering, is the authorization response necessary for the authentication or is it just used there for demo purposes and better explanation?
https://github.com/twitterdev/Twitter-API-v2-sample-code/blob/54b161835fc7fb7c16e358f1c46ec12b4c0ec418/Bookmarks-lookup/bookmarks_lookup.py#L55
I'm referencing both the bookmarks lookup code and this code for my project(I'm a total noob), and I noticed that the latter isn't using any authorization response for their twitter authentication but the former is. This has gotten me confused and wondering, is the authorization response necessary for the authentication or is it just used there for demo purposes and better explanation?