ashishkranjan / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

twipl.net support #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
twipl.net is a twitpic-like Korean service.
it even has mostly the same API with twitpic: http://www.twipl.net/api/doc
(if the page shows Korean document, go to the bottom of the page and click
"English")

it would be easy to support twipl.net. I guess this diff would do it...

Index: common/twitter.php
===================================================================
--- common/twitter.php  (revision 280)
+++ common/twitter.php  (working copy)
@@ -434,6 +434,7 @@
        '#imgur.com/gallery/([\w]+)#i' => 'http://imgur.com/%ss.png',
        '#brizzly.com/pic/([\w]+)#i' =>
'http://pics.brizzly.com/thumb_sm_%s.jpg',
        '#img.ly/([\w\d]+)#i' => 'http://img.ly/show/thumb/%s',
+    '#twipl.net/([\d\w]+)#i' => 'http://twipl.net/show/thumb/%s',
   );

   // Only enable Flickr service if API key is available

Original issue reported on code.google.com by gae...@gmail.com on 26 Feb 2010 at 8:46

GoogleCodeExporter commented 9 years ago
We now use Embed.ly for images. Please raise a request with Embed.ly at 
http://support.embed.ly/home

Original comment by terence.eden on 28 Apr 2011 at 1:26