getUserMedia
Description
Get the media posted by a given user.
URL Endpoint
https://api.mobypicture.com/
Requires Authentication
Not required. Authenticated calls return private posts as well.
Read more about our authentication.
HTTP Method
GET
Parameters
-
action
getUserMedia
-
key
Your developer key, which you can apply for here.
-
username
Mobypicture username to get the media for
Optional:
-
page
Page to return for pagination. Starts at 1 (not 0).
-
amount
Amount to return for pagination.
-
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
{ "results":[ { "id":"8811519", "title":"I just had to buy this Blu-Ray of course :)", "description":"Although I was one of the few who was that enthusiastic about the movie", "location_latlong":"52.312667,4.944333", "created_on":"2011-02-24 19:42:42", "created_on_epoch":1298572962, "views":"120", "comments":"0", "media":{ "type":"photo", "url_thumbnail":"http:\/\/img.mobypicture.com\/5e8ff6411c1764eae4fda93efdbfb2f1_thumbnail.jpg", "url_square":"http:\/\/img.mobypicture.com\/5e8ff6411c1764eae4fda93efdbfb2f1_square.jpg", "url_full":"http:\/\/img.mobypicture.com\/5e8ff6411c1764eae4fda93efdbfb2f1_large.jpg", "original_width":"1296", "original_height":"968", "processing":"0" }, "device":{ "manufacturer":"Apple", "model":"iPhone 4" }, "link":"http:\/\/www.mobypicture.com\/user\/mathys\/view\/8811519", "link_tiny":"http:\/\/moby.to\/yb884n", "tags":[ ], "groups":[ ] }, { "id":"8810286", "title":"Does Apple really charge $199 for Aperture preinstalled in the Apple Store, while it costs $79,99 in the Mac Appstore?", "description":"", "location_latlong":"", "created_on":"2011-02-24 16:32:00", "created_on_epoch":1298561520, "views":"180", "comments":"0", "media":{ "type":"photo", "url_thumbnail":"http:\/\/img.mobypicture.com\/0fca810f033a793352dea662a567c68d_thumbnail.jpg", "url_square":"http:\/\/img.mobypicture.com\/0fca810f033a793352dea662a567c68d_square.jpg", "url_full":"http:\/\/img.mobypicture.com\/0fca810f033a793352dea662a567c68d_large.jpg", "original_width":"870", "original_height":"293", "processing":"0" }, "device":{ "manufacturer":"", "model":"" }, "link":"http:\/\/www.mobypicture.com\/user\/mathys\/view\/8810286", "link_tiny":"http:\/\/moby.to\/bfmwdt", "tags":[ ], "groups":[ ] } ], "duration":0.291383, "result":"0", "message":"" }
XML
<?xml version="1.0"?> <mobypicture> <result code="0"></result> <results> <post> <id>8811519</id> <title>I just had to buy this Blu-Ray of course :)</title> <description>Although I was one of the few who was that enthusiastic about the movie</description> <location_latlong>52.312667,4.944333</location_latlong> <created_on>2011-02-24 19:42:42</created_on> <created_on_epoch>1298572962</created_on_epoch> <views>152</views> <comments>0</comments> <media> <type>photo</type> <url_thumbnail>http://img.mobypicture.com/5e8ff6411c1764eae4fda93efdbfb2f1_thumbnail.jpg</url_thumbnail> <url_square>http://img.mobypicture.com/5e8ff6411c1764eae4fda93efdbfb2f1_square.jpg</url_square> <url_full>http://img.mobypicture.com/5e8ff6411c1764eae4fda93efdbfb2f1_large.jpg</url_full> <original_width>1296</original_width> <original_height>968</original_height> <processing>0</processing> </media> <device> <manufacturer>Apple</manufacturer> <model>iPhone 4</model> </device> <link>http://www.mobypicture.com/user/mathys/view/8811519</link> <link_tiny>http://moby.to/yb884n</link_tiny> <tags/> <groups/> </post> <post> <id>8810286</id> <title>Does Apple really charge $199 for Aperture preinstalled in the Apple Store, while it costs $79,99 in the Mac Appstore?</title> <description></description> <location_latlong></location_latlong> <created_on>2011-02-24 16:32:00</created_on> <created_on_epoch>1298561520</created_on_epoch> <views>212</views> <comments>0</comments> <media> <type>photo</type> <url_thumbnail>http://img.mobypicture.com/0fca810f033a793352dea662a567c68d_thumbnail.jpg</url_thumbnail> <url_square>http://img.mobypicture.com/0fca810f033a793352dea662a567c68d_square.jpg</url_square> <url_full>http://img.mobypicture.com/0fca810f033a793352dea662a567c68d_large.jpg</url_full> <original_width>870</original_width> <original_height>293</original_height> <processing>0</processing> </media> <device> <manufacturer></manufacturer> <model></model> </device> <link>http://www.mobypicture.com/user/mathys/view/8810286</link> <link_tiny>http://moby.to/bfmwdt</link_tiny> <tags/> <groups/> </post> </results> <duration>0.274939</duration> </mobypicture>