summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-08-11 21:15:42 -0400
committerCraig Andrews <candrews@integralblue.com>2009-08-11 21:15:42 -0400
commit7eda7295e47688fd582338ef6c83e6b6267f202f (patch)
tree8e5a0b004889c6a1b5c80ce7d4b8520fe598c341 /actions/shownotice.php
parent4f751563c76bcea37fdf3e0623a037670476077b (diff)
oEmbed provider does not use the twitter api library classes any more
Diffstat (limited to 'actions/shownotice.php')
-rw-r--r--actions/shownotice.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/actions/shownotice.php b/actions/shownotice.php
index 4b179bc72..8f2ffd6b9 100644
--- a/actions/shownotice.php
+++ b/actions/shownotice.php
@@ -278,16 +278,16 @@ class ShownoticeAction extends OwnerDesignAction
$this->element('link',array('rel'=>'alternate',
'type'=>'application/json+oembed',
'href'=>common_local_url(
- 'api',
- array('apiaction'=>'oembed','method'=>'oembed.json'),
- array('url'=>$this->notice->uri)),
+ 'oembed',
+ array(),
+ array('format'=>'json','url'=>$this->notice->uri)),
'title'=>'oEmbed'),null);
$this->element('link',array('rel'=>'alternate',
'type'=>'text/xml+oembed',
'href'=>common_local_url(
- 'api',
- array('apiaction'=>'oembed','method'=>'oembed.xml'),
- array('url'=>$this->notice->uri)),
+ 'oembed',
+ array(),
+ array('format'=>'xml','url'=>$this->notice->uri)),
'title'=>'oEmbed'),null);
}
}