NeoAPI/user/get neofriends

< NeoAPI(Difference between revisions)

(remove XML format and link directly to json response)
(updated json result)
 
Line 11: Line 11:
 
'''json'''
 
'''json'''
 
<pre>
 
<pre>
{"friends":{"friend_0":{"username":"ar_cat","avatar":"185410_photo.png","personal_message":"Neoseeker is connected to Facebook\/Twitter! Try it XD Sooo proud <3"}},"contacts":{"contact_0":{"username":"tekmosis","avatar":"238077_photo.png","personal_message":""}}}
+
{
 +
      friends: {
 +
            1: {
 +
                memberid: "1"
 +
                username: "Redemption"
 +
                avatar: "1_photo.jpg"
 +
                personal_message: "1min power outtage at NeoHQ, now I have to find everything I was working on :|"
 +
            }
 +
          ...truncated...
 +
      }
 +
      contacts: {
 +
            6233: {
 +
                memberid: "6233"
 +
                username: "Sonic Flash"
 +
                avatar: "6233_photo.jpg"
 +
                personal_message: ""
 +
            }
 +
          ...truncated...
 +
      }
 +
}
 
</pre>
 
</pre>

Latest revision as of 11:42, 27 April 2010

[edit] get_neofriends

For the user you're currently logged in as, get a list of their contacts and friends.

json

{
      friends: {
            1: {
                memberid: "1"
                username: "Redemption"
                avatar: "1_photo.jpg"
                personal_message: "1min power outtage at NeoHQ, now I have to find everything I was working on :|"
            }
          ...truncated...
      }
      contacts: {
            6233: {
                memberid: "6233"
                username: "Sonic Flash"
                avatar: "6233_photo.jpg"
                personal_message: ""
            }
          ...truncated...
      }
}
Last edited by ar_cat on 27 April 2010 at 11:42
This page has been accessed 2,967 times.