diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-15 10:29:54 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-15 10:29:54 -0400 |
commit | 0aeea42724b7eac2bd2cd78b9d740fe5491d8df4 (patch) | |
tree | 33795925f3769cc1ac11bab0ba7147593b3e77b9 /actions | |
parent | b05b998d68ab2d4802ed4ec96abec59332ffe354 (diff) |
Added stub oembed api endpoint
Diffstat (limited to 'actions')
-rw-r--r-- | actions/api.php | 1 | ||||
-rw-r--r-- | actions/twitapilaconica.php | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/actions/api.php b/actions/api.php index 452ed8e82..fa5a7e7ae 100644 --- a/actions/api.php +++ b/actions/api.php @@ -129,6 +129,7 @@ class ApiAction extends Action 'laconica/config', 'laconica/wadl', 'tags/timeline', + 'laconica/oembed', 'groups/timeline'); static $bareauth = array('statuses/user_timeline', diff --git a/actions/twitapilaconica.php b/actions/twitapilaconica.php index 8cd7a64b9..ec40bc627 100644 --- a/actions/twitapilaconica.php +++ b/actions/twitapilaconica.php @@ -171,4 +171,12 @@ class TwitapilaconicaAction extends TwitterapiAction parent::handle($args); $this->serverError(_('API method under construction.'), 501); } + + function oembed($args, $apidata) + { + parent::handle($args); + $url = $args['url']; + print_r($apidata); + die("oembed!"); + } } |