function _twitter_use_oauth in Twitter 6.3
Same name and namespace in other branches
- 6.4 twitter.module \_twitter_use_oauth()
- 7.3 twitter.module \_twitter_use_oauth()
5 calls to _twitter_use_oauth()
- twitter_account_form in ./
twitter.pages.inc - Form to add a Twitter account
- twitter_actions_set_status_action_validate in twitter_actions/
twitter_actions.module - Implements hook_actions_set_status_action_validate()
- twitter_connect in ./
twitter.inc - Connect to the API using the 'proper' version (Oauth vs. standard)
- twitter_signin_block in twitter_signin/
twitter_signin.module - Implementation of hook_block().
- twitter_signin_form_alter in twitter_signin/
twitter_signin.module - Implementation of hook_form_alter().
File
- ./
twitter.module, line 264
Code
function _twitter_use_oauth() {
if (!module_exists('oauth_common')) {
return FALSE;
}
return variable_get('twitter_consumer_key', '') && variable_get('twitter_consumer_secret', '');
}