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

  • Raising December 12, 2017
    As some of you readers may know, over the last two years, in 'stealth' I've been working on a Meta-charitable idea called Kinder.  It started with a What if...
  • Bore the spammers to death. AI to the resque. November 9, 2017
    Email scamming is a billion dollar business with millions of victims.Netsafe came up with a weapon. I like this approach.
  • Artificial intelligence-powered dystopia November 1, 2017
    In an eye-opening talk, she details how the same algorithms companies like Facebook, Google and Amazon use to get you to click on ads are also used to organize your access to political and social information. And the machines aren't even the real threat. What we need to understand is how the powerful might use […]