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

  • After we're gone March 20, 2017
    "About a month after we disappear all cooling water on nuclear facilities will have evaporated. Millions of animals will die of cancer."
  • Why don't we cheer at a central place online? March 20, 2017
    Catching the energy Energy flows around social gatherings. When we enter a stadium, visit a museum or go to a concert we all share the energy. It makes us stronger, it connects us, no matter what our backgrounds are.  Online their is not one space that catches this energy and bundles this power. Our tweets, FB posts, likes, […]
  • It's been an activistic month! #supportgoodcauses March 6, 2017
    1. Artikel 1I met Sylvana Simons at an event in January. I don't care too much about politics but I think the rights she's fighting for are extremely important and awareness and demystification around the topics of the new Dutch political party Artikel 1 are crucial for achieving their goal. Tag The Love can really help them get […]