isFriend

Description

Check if a user is a friend of the authenticated user. You can also add friends and remove friends.

URL Endpoint

https://api.mobypicture.com/

Requires Authentication

Yes, read more about our authentication.

HTTP Method

POST

Parameters

  • action

    isFriend

  • key

    Your developer key, which you can apply for here.

  • friend_username

    Mobypicture username to check as a friend of the authenticated user

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

{
  "result":"0",
  "is_friend":true
}

XML

<?xml version="1.0"?>
<mobypicture>
  <result code="0"></result>
  <is_friend>1</is_friend>
</mobypicture>

 

This page is last updated on February 24, 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

  • Help Mozambique March 25, 2019
    We've created a collection of effective charitable organisations who are working on the ground to help the people of Mozambique and the surrounding countries. Please support and share.
  • Drawing or colouring? January 8, 2019
    Some of us prefer drawing over coloring, but need a clear plan.Some people just start drawing the first line on paper. They have a vague idea about what they want to create.A tree or dinosaur.This weekend I went to a dinosaur workshop with my son (4).He likes dinosaurs, hey, everybody likes dinosaurs, but he loves […]
  • Ten books I read in 2018 December 31, 2018
    1. Enlightenment Now Steven Pinker Found it very difficult to read. And I didn’t finish it. Pinker tries to be very eloquent in every single sentence. Couldn’t finish more than one chapter at the time. There are quite some interesting pleas in there for liberalism, but it didn't stick with me. I think that the […]