summaryrefslogtreecommitdiff
path: root/lib/twitterapi.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-06 15:14:27 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-06 15:14:27 -0400
commit26b608d914bb5a04c2285111588cbdad12a5a936 (patch)
treea4c1fd1fa1ae801d780aeff10d802b78d68ede80 /lib/twitterapi.php
parent153248b48230a342648577480e36224eaee85535 (diff)
Support the 'lite' parameter to statuses/friends and statuses/followers twitter api methods.
http://laconi.ca/trac/ticket/1786
Diffstat (limited to 'lib/twitterapi.php')
-rw-r--r--lib/twitterapi.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/twitterapi.php b/lib/twitterapi.php
index 4115d9dcb..4737c5874 100644
--- a/lib/twitterapi.php
+++ b/lib/twitterapi.php
@@ -844,9 +844,9 @@ class TwitterapiAction extends Action
$this->endXML();
}
- function show_profile($profile, $content_type='xml', $notice=null)
+ function show_profile($profile, $content_type='xml', $notice=null, $includeStatuses=true)
{
- $profile_array = $this->twitter_user_array($profile, true);
+ $profile_array = $this->twitter_user_array($profile, $includeStatuses);
switch ($content_type) {
case 'xml':
$this->show_twitter_xml_user($profile_array);