getFriends

Description

Get the friends of a given user. This call is not paginated by default, but because users can have hundreds of friends it is advisable. You can also get the followers of a user.

URL Endpoint

https://api.mobypicture.com/

Requires Authentication

No

HTTP Method

GET

Parameters

  • action

    getFriends

  • key

    Your developer key, which you can apply for here.

  • username

    Mobypicture username to get the friends for

Optional:

  • page

    Page to return for pagination. Starts at 1 (not 0).

  • amount

    Amount to return for pagination.

  • 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

{
  "friends":[
    {
      "id":"334869",
      "username":"Fredoichi",
      "name":"Fredo Houben",
      "firstname":"Fredo",
      "lastname":"Houben",
      "bio":"A modern day Ronin who lives by the code of creativity. A Visual Designer and Animator, Game and Mac Geek, and a Dad. Also designs and creat",
      "website":"http:\/\/www.fredoichi.com",
      "location":"Utrecht | the Netherlands",
      "url":"http:\/\/www.mobypicture.com\/user\/Fredoichi",
      "url_avatar":"http:\/\/mobypicture.com\/images\/avatar\/534ea1ac9cd8a6dd225720ea1a1779ad_60px.jpg",
      "url_avatar_small":"http:\/\/mobypicture.com\/images\/avatar\/534ea1ac9cd8a6dd225720ea1a1779ad_24px.jpg",
      "post_count":"2",
      "friends_count":"6",
      "followers_count":"2"
    },
    {
      "id":"46161",
      "username":"hasseltkoffie",
      "name":"Steven vH",
      "firstname":"Steven",
      "lastname":"vH",
      "bio":"",
      "website":"",
      "location":"",
      "url":"http:\/\/www.mobypicture.com\/user\/hasseltkoffie",
      "url_avatar":"http:\/\/mobypicture.com\/images\/avatar\/053300022676e2ec1985016822477217_60px.jpg",
      "url_avatar_small":"http:\/\/mobypicture.com\/images\/avatar\/053300022676e2ec1985016822477217_24px.jpg",
      "post_count":"193",
      "friends_count":"7",
      "followers_count":"3"
    }],
  "duration":0.448066,
  "result":"0",
  "message":""
}

XML


      334869
      Fredoichi
      Fredo Houben
      Fredo
      Houben
      A modern day Ronin who lives by the code of creativity. A Visual Designer and Animator, Game and Mac Geek, and a Dad. Also designs and creat
      http://www.fredoichi.com
      Utrecht | the Netherlands
      http://www.mobypicture.com/user/Fredoichi
      http://mobypicture.com/images/avatar/534ea1ac9cd8a6dd225720ea1a1779ad_60px.jpg
      http://mobypicture.com/images/avatar/534ea1ac9cd8a6dd225720ea1a1779ad_24px.jpg
      2
      6
      2

      46161
      hasseltkoffie
      Steven vH
      Steven
      vH

      http://www.mobypicture.com/user/hasseltkoffie
      http://mobypicture.com/images/avatar/053300022676e2ec1985016822477217_60px.jpg
      http://mobypicture.com/images/avatar/053300022676e2ec1985016822477217_24px.jpg
      193
      7
      3

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

  • Kinder Widget October 15, 2018
    Last week we launched the Kinder widget and now we're looking for partners. At Kinder we empower people to instantly and effectively act on the global challenges of our time by facilitating donations to charitable organisations. The more effective the organisation performs, the more it will be promoted on our donation platforms. In collaboration with […]
  • Embracing your inner child September 28, 2018
    Jason gathered some other birds of paradise who live in Amsterdam or were visiting at the moment from the US.Amongst them, free spirit film maker Seth Bunting, an immersive experience/design artist, his newly found girlfriend Dutch dance instructor and flow consultant Nathalie, Gerard Adams, founder of Elite Daily and 'The Millenium Mentor' and his friend Mia. Jason is a […]
  • We're not competing in the World Cup.... June 27, 2018
    On Tuesday’s "America's Got Talent"-show, Glennis Grace went on stage to perform a cover of the late legend, Whitney Houston's “Run to You”.