getThumbUrl

Description

Returns the url of the requested thumbnail.

Note: When using JSON or XML as format getMediaInfo might be more useful as it returns much more information, including the thumbnail URL.

URL Endpoint

https://api.mobypicture.com/

Requires Authentication

No.

HTTP Method

GET

Parameters

  • action

    getThumbUrl

  • key

    Your developer key, which you can apply for here.

  • post_id

    The ID of the Post to like. Either a Post ID or a TinyURL code should be given.

  • tinyurl_code

    The tiny url code of the Post to like. Either a Post ID or a TinyURL code should be given. We strip out the http://moby.to/ part if given.

  • size

    Available sizes are ‘thumbnail’, ‘small’ , ‘medium’, ‘square’

Optional:

  • pretty_json

    To output human readable JSON. XML is already human readable

  • format

    The desired output format. Possible values are json, plain and xml. If no format is given, JSON will be returned.

Rate Limited

Not yet.

Response

JSON

{
  "url":"http:\/\/img.mobypicture.com\/ee8c9c0e49ad98cb2749ce352429a8f9_thumbnail.jpg",
  "result":"0",
  "message":""
}

XML

<?xml version="1.0"?>
<mobypicture>
  <result code="0"></result>
  <url>http://img.mobypicture.com/ee8c9c0e49ad98cb2749ce352429a8f9_thumbnail.jpg</url>
</mobypicture>

Plain

http://img.mobypicture.com/ee8c9c0e49ad98cb2749ce352429a8f9_thumbnail.jpg

This page is last updated on March 10, 2011 by

Comment Form

About Mobypicture Developers

Build your own applications on top of Mobypicture, like over 600 others have done before you using our extensive API.

You can find find out more about the usage of the Mobypicture API in the API Documentation. To use the API you have to get a developer key. This also allows you to promote your Mobypicture enabled app on the Mobypicture website.

Get a Mobypicture developer key

RSS Mobypicture product news

  • We won in court. Sort of. August 31, 2017
    This guy, Bram Gorissen took us to trial over a picture. He said he was sueing many blogs and platforms for supposed infringement of his copyright. He took a picture of a train in 2011, posted the picture on a popular Dutch forum, fok.nl. "As a courtesy to the owner of that platform" who is […]
  • Do you remember all of these? August 15, 2017
  • Supporting Bas support two great initiatives July 10, 2017
    I met Bas at the beginning of this year at an IPAN event. It was the first event where I spoke about Kinder.