JFacebookUser::getHome
Method to get the user's news feed. Requires authentication and read_stream permission.
Signature
public function getHome(mixed
$user,
[string
$filter = null,
[boolean
$location = false,
[integer
$limit = 0,
[integer
$offset = 0,
[string
$until = null,
[string
$since = null]]]]]] )
Parameters
-
$user
- Either an integer containing the user ID or a string containing the username.
-
$filter
- User's stream filter.
-
$location
- Retreive only posts with a location attached.
-
$limit
- The number of objects per page.
-
$offset
- The object's number on the page.
-
$until
- A unix timestamp or any date accepted by strtotime.
-
$since
- A unix timestamp or any date accepted by strtotime.
Returns
- mixed
- The decoded JSON response or false if the client is not authenticated.