Services_Twitter oembed endpoint
| From: | Joris Korbeeck | Date: | Sun, 08 Jan 2012 15:43:52 +0000 |
| Subject: | Services_Twitter oembed endpoint | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-54684@lists.php.net to get a copy of this message | ||
Dear developers,
I’m using the great Services_Twitter package and discovered the Twitter API statuses/oembed
endpoint hasn’t been implemented yet.
Therefor I added an entry to the package’s api.xml which incorporates its call:
<endpoint name="oembed" method="GET" auth_required="false"
routing="/statuses/oembed">
<formats>xml,json</formats>
<param name="id" type="string" required="true"/>
<param name="maxwidth" type="integer"
required="false"/>
<param name="hide_media" type="boolean"
required="false"/>
<param name="hide_thread" type="boolean"
required="false"/>
<param name="omit_script" type="boolean"
required="false"/>
<param name="align" type="string" required="false"/>
<param name="related" type="string"
required="false"/>
<param name="lang" type="string" required="false"/>
</endpoint>
I’ve tested it within a Joomla! plug-in I’ve written.
Could you advise me how to submit this code?
--
Regards, Joris Korbeeck