public function TweetFetcherInterface::setCredentials in Media entity Twitter 8
Same name and namespace in other branches
- 8.2 src/TweetFetcherInterface.php \Drupal\media_entity_twitter\TweetFetcherInterface::setCredentials()
Sets the credentials for accessing Twitter's API.
Parameters
string $consumer_key: The consumer key.
$consumer_secret: The consumer secret.
string $oauth_access_token: The OAuth access token.
string $oauth_access_token_secret: The OAuth access token secret.
1 method overrides TweetFetcherInterface::setCredentials()
- TweetFetcher::setCredentials in src/
TweetFetcher.php - Sets the credentials for accessing Twitter's API.
File
- src/
TweetFetcherInterface.php, line 45
Class
- TweetFetcherInterface
- Defines a wrapper around the Twitter API.
Namespace
Drupal\media_entity_twitterCode
public function setCredentials($consumer_key, $consumer_secret, $oauth_access_token, $oauth_access_token_secret);