getMediaInfo

Description

Returns information about a posting. Fields that are not available will be returned empty. Information includes User, Post and Group info.

URL Endpoint

https://api.mobypicture.com/

Requires Authentication

No.

HTTP Method

GET

Parameters

  • action

    getMediaInfo

  • 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.

Optional:

  • pretty_json

    To output human readable JSON. XML is already human readable

  • format

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

Rate Limited

Not yet.

Response

JSON

{
  "user":{
    "id":"97151",
    "username":"mathys",
    "name":"Mathys van Abbe",
    "firstname":"Mathys",
    "lastname":"van Abbe",
    "bio":"founder Mobypicture",
    "website":"http:\/\/mobypicture.com",
    "location":"Amsterdam",
    "url":"http:\/\/www.mobypicture.com\/user\/mathys",
    "url_avatar":"http:\/\/mobypicture.com\/images\/avatar\/abaf7272094cedbea3b1e7f578074395_60px.jpg",
    "url_avatar_small":"http:\/\/mobypicture.com\/images\/avatar\/abaf7272094cedbea3b1e7f578074395_24px.jpg",
    "post_count":"209",
    "friends_count":"2",
    "followers_count":"8"
  },
  "post":{
    "id":"7151093",
    "title":"upload #burningman",
    "description":"",
    "location_latlong":"",
    "created_on":"2010-08-03 13:32:16",
    "created_on_epoch":1280835136,
    "views":"253",
    "comments":"0",
    "media":{
      "type":"photo",
      "url_thumbnail":"http:\/\/img.mobypicture.com\/ee8c9c0e49ad98cb2749ce352429a8f9_thumbnail.jpg",
      "url_square":"http:\/\/img.mobypicture.com\/ee8c9c0e49ad98cb2749ce352429a8f9_square.jpg",
      "url_full":"http:\/\/img.mobypicture.com\/ee8c9c0e49ad98cb2749ce352429a8f9_large.jpg",
      "original_width":"370",
      "original_height":"500",
      "processing":"0"
    },
    "device":{
      "manufacturer":"",
      "model":""
    },
    "link":"http:\/\/www.mobypicture.com\/user\/mathys\/view\/7151093",
    "link_tiny":"http:\/\/moby.to\/fvjlpz",
    "tags":[
      {
        "name":"tag2",
        "url":"http:\/\/www.mobypicture.com\/search\/advanced\/?search&t=tag2",
      },
      {
        "name":"tag1",
        "url":"http:\/\/www.mobypicture.com\/search\/advanced\/?search&t=tag1",
      }
    ],
    "groups":[
      {
        "name":"burningman",
        "title":"Burningman",
        "description":"All postings containing \"#burningman\" will be collected here",
        "hashtag":"#burningman",
        "url":"http:\/\/www.mobypicture.com\/group\/burningman",
        "logo":"http:\/\/mobypicture.com\/images\/groups\/b6c8937a247d51347fa7a18e413fa7d7_46px.jpg",
        "post_count":"215",
        "member_count":"10",
        "XMLFIELDNAME":"group"
      }
    ]
  },
  "result":"0",
  "message":""
}

XML

<?xml version="1.0"?>
<mobypicture>
  <result code="0"></result>
  <user>
    <id>97151</id>
    <username>mathys</username>
    <name>Mathys van Abbe</name>
    <firstname>Mathys</firstname>
    <lastname>van Abbe</lastname>
    <bio>founder Mobypicture</bio>
    <website>http://mobypicture.com</website>
    <location>Amsterdam</location>
    <url>http://www.mobypicture.com/user/mathys</url>
    <url_avatar>http://mobypicture.com/images/avatar/abaf7272094cedbea3b1e7f578074395_60px.jpg</url_avatar>
    <url_avatar_small>http://mobypicture.com/images/avatar/abaf7272094cedbea3b1e7f578074395_24px.jpg</url_avatar_small>
    <post_count>209</post_count>
    <friends_count>2</friends_count>
    <followers_count>8</followers_count>
  </user>
  <post>
    <id>7151093</id>
    <title>upload #burningman</title>
    <description></description>
    <location_latlong></location_latlong>
    <created_on>2010-08-03 13:32:16</created_on>
    <created_on_epoch>1280835136</created_on_epoch>
    <views>254</views>
    <comments>0</comments>
    <media>
      <type>photo</type>
      <url_thumbnail>http://img.mobypicture.com/ee8c9c0e49ad98cb2749ce352429a8f9_thumbnail.jpg</url_thumbnail>
      <url_square>http://img.mobypicture.com/ee8c9c0e49ad98cb2749ce352429a8f9_square.jpg</url_square>
      <url_full>http://img.mobypicture.com/ee8c9c0e49ad98cb2749ce352429a8f9_large.jpg</url_full>
      <original_width>370</original_width>
      <original_height>500</original_height>
      <processing>0</processing>
    </media>
    <device>
      <manufacturer></manufacturer>
      <model></model>
    </device>
    <link>http://www.mobypicture.com/user/mathys/view/7151093</link>
    <link_tiny>http://moby.to/fvjlpz</link_tiny>
    <tags>
      <tag>
        <name>tag2</name>
        <url>http://www.mobypicture.com/search/advanced/?search&amp;t=tag2</url>
      </tag>
      <tag>
        <name>tag1</name>
        <url>http://www.mobypicture.com/search/advanced/?search&amp;t=tag1</url>
      </tag>
    </tags>
    <groups>
      <group>
        <name>burningman</name>
        <title>Burningman</title>
        <description>All postings containing "#burningman" will be collected here</description>
        <hashtag>#burningman</hashtag>
        <url>http://www.mobypicture.com/group/burningman</url>
        <logo>http://mobypicture.com/images/groups/b6c8937a247d51347fa7a18e413fa7d7_46px.jpg</logo>
        <post_count>215</post_count>
        <member_count>10</member_count>
      </group>
    </groups>
<destinations>
      <destination>
        <name>email</name>
        <url></url>
      </destination>
      <destination>
        <name>hyves</name>
        <url>http://trebel.hyves.nl/</url>
      </destination>
      <destination>
        <name>snap</name>
        <url>0</url>
      </destination>
      <destination>
        <name>twitter</name>
        <url>http://twitter.com/mathys/status/45535959953051648</url>
      </destination>
    </destinations>
 </post>
 <duration>0.265772</duration>
</mobypicture>
This page is last updated on December 22, 2014 by bram

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're not competing in the World Cup.... June 27, 2018
    On Tuesday’s "America's Got Talent"-show, Glennis Grace went on stage to perform a cover of the late legend, Whitney Houston's “Run to You”.
  • Time for Kinder World May 29, 2018
    Ever since Tag The Love as a platform technology matured, I started sponsoring charitable organisations. The first platform we gave away was the one for the annual fundraiser Serious Request organised by the popular 3FM radio station.
  • On a roll. Kinder future secured. Financing round completed. People added to the team. April 4, 2018
    In December I blogged about the fact that we are raising funds to speed up the rollout of our dreams and ambitions to change the charitable sector ecosystem. The first round closed on March 15th and we aligned our vision with six impact investors, all in this for the same ideals. There still is room […]