Services_Facebook
[ class tree: Services_Facebook ] [ index: Services_Facebook ] [ all elements ]

Class: Services_Facebook_Friends

Source Location: /Services_Facebook-0.2.8/Services/Facebook/Friends.php

Class Overview

Services_Facebook_Common
   |
   --Services_Facebook_Friends

Facebook Friends Interface


Author(s):

Version:

  • Release: 0.2.8

Methods


Inherited Variables

Inherited Methods


Class Details

[line 35]
Facebook Friends Interface


[ Top ]


Method Detail

areFriends   [line 50]

mixed areFriends( array $uid1, array $uid2)

Are groupings of friends friends?

If an array matrix of friend pairings is passed then a SimpleXmlElement is passed back. If it's a single pairing of friends then a boolean is passed back.


Parameters:

array   $uid1     First uid to check
array   $uid2     Second one to see if friends with $uid1

[ Top ]

get   [line 85]

array get( [int $uid = null])

Get the current user's friends

Parameters:

int   $uid     FB uid to get a friend list of

[ Top ]

getAppUsers   [line 134]

array getAppUsers( )

Get a user's friends who are using your application

[ Top ]

getByList   [line 113]

array getByList( integer $flid)

Get the current user's friends by list

Parameters:

integer   $flid     The friends list id to fetch

[ Top ]

getLists   [line 155]

object SimpleXMLObject getLists( )

Get the current user's friend lists

[ Top ]


Documentation generated on Fri, 05 Jun 2009 19:00:05 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.