Description Usage Arguments Value See Also
Getting Access Token of COTOHA API
1 2 3 4 5 6 | getAccessToken(
publish_url,
client_id = Sys.getenv("COTOHA_ID"),
client_secret = Sys.getenv("COTOHA_SECRET"),
grant_type = "client_credentials"
)
|
publish_url |
string. |
client_id |
string. |
client_secret |
string. |
grant_type |
string. |
return access token only when the authorization succeeded. If failed, then return the httr response invisibly.
https://api.ce-cotoha.com/contents/reference/accesstoken.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.