Once back in R, run this function the following way:
my_token = get_token("my_app", key = key, secret = secret)
passing the values you have obtained on the developer page. First time you
create a token, you will be prompted to confirm the authorization
in a browser. If you chose to store the token locally as prompted, you won't
have to do this anymore until your token expires (see expiration) or your
local cache file is deleted.
Tokens are stored inside a hidden .httr-oauth cache file and automatically
read when any function in the package is called. Optionally, you can specify
a different cache path using the cache argument, or avoid caching the token
completely with cache = FALSE. See httr::oauth1.0_token() for details.
If you opt out of storing the token, then it will only be held until your
R session is over, and you will have to pass it to the token argument, eg.
get_my_boards(token = my_token) each time you are fetching data.
Remember to store your credentials in a secure, non-shared location. To
minimize the risk of unwanted disclosure when using remote code
repositories, .httr-oauth (or whatever cache path you have specified
using the cache argument) is automatically added to .gitignore.