summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-07-30 22:43:07 -0400
committerCraig Andrews <candrews@integralblue.com>2009-07-30 22:43:07 -0400
commit45ad4cfe7253d1cd2da219378fd714644c906f53 (patch)
treef382cbed728f9fd9ff569e87e2c63245e04b1a13
parentec103b90e39c20bfdc2f5663e35eae8b1df212e9 (diff)
Added a url field to hold the permalink. I believe this field is very useful for api consumers.
-rw-r--r--lib/twitterapi.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/twitterapi.php b/lib/twitterapi.php
index 2f969f2ba..e6af33e82 100644
--- a/lib/twitterapi.php
+++ b/lib/twitterapi.php
@@ -217,9 +217,10 @@ class TwitterapiAction extends Action
{
$twitter_group=array();
$twitter_group['id']=$group->id;
+ $twitter_group['url']=$group->permalink();
$twitter_group['nickname']=$group->nickname;
$twitter_group['fullname']=$group->fullname;
- $twitter_group['url']=$group->url;
+ $twitter_group['homepage_url']=$group->homepage_url;
$twitter_group['original_logo']=$group->original_logo;
$twitter_group['homepage_logo']=$group->homepage_logo;
$twitter_group['stream_logo']=$group->stream_logo;