You are here

function _twitter_convert_user in Twitter 6.2

2 calls to _twitter_convert_user()
_twitter_convert_status in ./twitter.inc
_twitter_convert_xml_to_array in ./twitter.inc
Internal XML munging code

File

./twitter.inc, line 533
A wrapper API for the Twitter microblogging service.

Code

function _twitter_convert_user($user) {
  $result = (array) $user;
  $result['twitter_uid'] = $result['id'];
  if (!empty($result['status']) && is_object($result['status'])) {
    $result['status'] = _twitter_convert_status($result['status']);
  }
  return $result;
}