getComments

Description

Get the comments of the given Moby post.

URL Endpoint

https://api.mobypicture.com/

Requires Authentication

No

HTTP Method

GET

Parameters

  • action

    getComments

  • key

    Your developer key, which you can apply for here.

  • post_id

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

  • tinyurl_code

    The tiny url code of the Post. 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

{
  "comments":[
    {
      "user": {
          "id":"44",
      	  "username":"mathys",
      	  "name":"Mathys van Abbe",
      	  "firstname":"Mathys",
       	  "lastname":"van Abbe",
    	  "bio":"Mr. Moby",
          "website":"http:\/\/mathys.vanabbe.com",
          "location":"Mobyboat - Amsterdam, The Netherlands",
          "url":"http:\/\/www.mobypicture.com\/user\/mathys",
          "url_avatar":"http:\/\/a1.media.mobyhub.com\/avatar\/ebbacfc0ed6eba8f1727f7f456fa03c8_60px.jpg",
          "url_avatar_small":"http:\/\/1.media.mobyhub.com\/avatar\/ebbacfc0ed6eba8f1727f7f456fa03c8_24px.jpg",
 "post_count":"17920",
 "friends_count":"860",
 "followers_count":"430"
 },
 "created_on":"2011-02-09 15:18:39",
 "message":"nice picture!"
 }
 ],
 "result":"0",
 "message":""
}

XML

<?xml version="1.0"?>
<mobypicture>
  <result code="0"></result>
  <comments>
    <comment>
      <user>
        <id>44</id>
        <username>mathys</username>
        <name>Mathys van Abbe</name>
        <firstname>Mathys</firstname>
        <lastname>van Abbe</lastname>
        <bio>Mr. Moby</bio>
        <website>http://mathys.vanabbe.com</website>
        <location>Mobyboat - Amsterdam, The Netherlands</location>
        <url>http://www.mobypicture.com/user/mathys</url>
        <url_avatar>http://a1.media.mobyhub.com/avatar/ebbacfc0ed6eba8f1727f7f456fa03c8_60px.jpg</url_avatar>
        <url_avatar_small>http://a1.media.mobyhub.com/avatar/ebbacfc0ed6eba8f1727f7f456fa03c8_24px.jpg</url_avatar_small>
 <post_count>17920</post_count>
 <friends_count>860</friends_count>
 <followers_count>430</followers_count>
 </user>
 <created_on>2011-02-09 15:18:39</created_on>
 <message>Nice picture!</message>
 </comment>
 </comments>
</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