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

  • After we're gone March 20, 2017
    "About a month after we disappear all cooling water on nuclear facilities will have evaporated. Millions of animals will die of cancer."
  • Why don't we cheer at a central place online? March 20, 2017
    Catching the energy Energy flows around social gatherings. When we enter a stadium, visit a museum or go to a concert we all share the energy. It makes us stronger, it connects us, no matter what our backgrounds are.  Online their is not one space that catches this energy and bundles this power. Our tweets, FB posts, likes, […]
  • It's been an activistic month! #supportgoodcauses March 6, 2017
    1. Artikel 1I met Sylvana Simons at an event in January. I don't care too much about politics but I think the rights she's fighting for are extremely important and awareness and demystification around the topics of the new Dutch political party Artikel 1 are crucial for achieving their goal. Tag The Love can really help them get […]