addLike

Description

Add a like to a Mobypicture post

URL Endpoint

https://api.mobypicture.com/

Requires Authentication

Yes, read more about our authentication.

HTTP Method

POST

Parameters

  • action

    addLike

  • 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

Responds the current amount of Likes for a Post.

JSON

{
  "post_id":"1234",
  "votes":11,
  "result":"0",
  "message":""
}

XML

<?xml version="1.0"?>
<mobypicture>
  <result code="0"></result>
  <post_id>1234</post_id>
  <votes>11</votes>
</mobypicture>
This page is last updated on February 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.