oEmbed: Updated twitter oembed to API 1.1. This call doesn't seem to

need OAuth, so it seems.
This commit is contained in:
Grischa Brockhaus 2012-10-20 19:44:15 +02:00
parent 588e48843d
commit 1444b0d82d
3 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Version 1.10 (brockhaus)
-----------------------
* Updated twitter oEmbed to API 1.1, what doesn't seem to need OAuth.
Version 1.09 (brockhaus)
-----------------------
* Switched off errorreporting while trying to fetch oembed code

View file

@ -8,7 +8,7 @@
<provider>
<name>Twitter Status</name>
<url>https?://*.twitter.com/*/status(es)?/*</url>
<endpoint>https://api.twitter.com/1/statuses/oembed.{format}</endpoint>
<endpoint>https://api.twitter.com/1.1/statuses/oembed.{format}</endpoint>
</provider>
<provider>
<url>http://*.vimeo.com/*</url>

View file

@ -30,7 +30,7 @@ class serendipity_event_oembed extends serendipity_event
$propbag->add('description', PLUGIN_EVENT_OEMBED_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Grischa Brockhaus');
$propbag->add('version', '1.09');
$propbag->add('version', '1.10');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',