You are here

function _twitter_use_oauth in Twitter 6.4

Same name and namespace in other branches
  1. 6.3 twitter.module \_twitter_use_oauth()
  2. 7.3 twitter.module \_twitter_use_oauth()

File

./twitter.module, line 263
Establishes an interface to communicate with Twitter

Code

function _twitter_use_oauth() {
  if (!module_exists('oauth_common')) {
    return FALSE;
  }
  return variable_get('twitter_consumer_key', '') && variable_get('twitter_consumer_secret', '');
}