JFacebookUser::getPosts
Method to get the user's posts. Requires authentication and read_stream permission for non-public posts.
Signature
public function getPosts(mixed
$user,
[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.
-
$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.