invalidate_bearer function

Invalidate bearer token

Invalidate bearer token

Invalidate the bearer token automatically if you know the API key and API secret.

invalidate_bearer(api_key, api_secret, client = NULL, token = NULL)

Arguments

  • api_key, api_secret: API key and secret. Deprecated in favor of client_* arguments.
  • client: Which client app will be used, see rtweet_client() for details.
  • token: Expert use only. Use this to invalidate a specific bearer token created with rtweet_app(). If NULL the default authentication mechanism is invalidated.

Note

Not tested!

References

https://developer.twitter.com/en/docs/authentication/api-reference/invalidate_bearer_token

https://developer.twitter.com/en/docs/authentication/api-reference/invalidate_access_token

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24