get_bearer: A function to get the bearer key

View source: R/get_bearer.R

get_bearerR Documentation

A function to get the bearer key

Description

This function is a helper function that can be used to generate the bearer key using API key and API secret.

Usage

get_bearer()

Details

The key and secret are required to use the functions in twitterapiR package and query information from Twitter.

Value

A list contains following items:

token_type

bearer type of key

access_token

bearer key

...

Author(s)

Ling Xiang, Zou

References

https://developer.twitter.com/en/docs/twitter-api/getting-started/getting-access-to-the-twitter-api

Examples


#get_bearer()


tangaot/twitterapiR documentation built on March 24, 2022, 12:40 p.m.