| sm_api_has_credentials | R Documentation |
Whether the credentials needed to authenticate on a social media are configured
sm_api_has_credentials(network)
network |
char, network the name of the social media |
this is a purely local check: it looks for stored secrets and never calls the underlying social media API, unlike sm_api_get_token which may perform a live token validity check as part of fetching a token. It is used to report or poll authentication status (setup() menu, check_sm_auth) without the cost of a network round-trip.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.