summaryrefslogtreecommitdiff
path: root/actions/attachment.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/attachment.php
parent4f751563c76bcea37fdf3e0623a037670476077b (diff)
oEmbed provider does not use the twitter api library classes any more
Diffstat (limited to 'actions/attachment.php')
-rw-r--r--actions/attachment.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/actions/attachment.php b/actions/attachment.php
index c6a5d0d52..f42906fd8 100644
--- a/actions/attachment.php
+++ b/actions/attachment.php
@@ -103,18 +103,18 @@ class AttachmentAction extends Action
$this->element('link',array('rel'=>'alternate',
'type'=>'application/json+oembed',
'href'=>common_local_url(
- 'api',
- array('apiaction'=>'oembed','method'=>'oembed.json'),
- array('url'=>
+ 'oembed',
+ array(),
+ array('format'=>'json', 'url'=>
common_local_url('attachment',
array('attachment' => $this->attachment->id)))),
'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'=>
+ 'oembed',
+ array(),
+ array('format'=>'xml','url'=>
common_local_url('attachment',
array('attachment' => $this->attachment->id)))),
'title'=>'oEmbed'),null);