From: Craig Andrews Date: Fri, 31 Jul 2009 02:43:07 +0000 (-0400) Subject: Added a url field to hold the permalink. I believe this field is very useful for... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=45ad4cfe7253d1cd2da219378fd714644c906f53;p=quix0rs-gnu-social.git Added a url field to hold the permalink. I believe this field is very useful for api consumers. --- diff --git a/lib/twitterapi.php b/lib/twitterapi.php index 2f969f2baf..e6af33e828 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;