You are here

function twitter_get_user_accounts in Twitter 6.4

Same name and namespace in other branches
  1. 6.2 twitter.inc \twitter_get_user_accounts()
  2. 6.3 twitter.module \twitter_get_user_accounts()

Get a list of twitter accounts available to the current user.

Return value

Array containing TwitterAccount objects

1 call to twitter_get_user_accounts()
twitter_post_form in twitter_post/twitter_post.module
Generate a twitter posting form for the given user.

File

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

Code

function twitter_get_user_accounts($uid) {
  $drupal_user = user_load($uid);
  return module_invoke_all('twitter_accounts', $drupal_user);
}