fs_auth(cKey = getOption("FigshareKey", NULL),
cSecret = getOption("FigsharePrivateKey", NULL),
token = getOption("FigshareToken", NULL),
token_secret = getOption("FigsharePrivateToken", NULL))By default, the function will use the application's consumer key and consumer secret key, rather than expecting the user to create their own application. The user-specific tokens will then be generated and locally cached for use between sessions, if indicated by the interactive options. For details, see httr oauth1.0_token documentation.
If for some reason a user would rather provide there token and secret token as before this is still supported using the same arguments. Users wanting to have their own app can provide cKey and cSecret arguments too, but this is provided primarily for backwards compatibility with older versions. It is expected that most users will leave the keys as NULL.