• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Getting public posts of a random user from Facebook API

phpfacebookfacebook-php-sdk


PHP Snippet 1:

SELECT post_id, message FROM stream WHERE source_id = {User_ID} LIMIT 50 

PHP Snippet 2:

SELECT status_id, message FROM status WHERE uid = {User_ID} LIMIT 50

Related Snippets

How can I make a full text index of the column?

How to assert parameter attribute sub-structures in PHPUnit mock call expectations

how to redirect the user back to desired URL after login page in PHP?

php curl_exec() Connection refused when retrieving a remote image

Why the name of trucks are same in 2nd and 3rd record of company data retrieval?

How to install php_imagick on wamp64

Passing PHP JSON to Javascript: echo json_encode vs echo json declaration

Unable to create lockable file - Laravel 8 & PHP 8

Handle error for duplicate entries - PHP/MySQL

How to override header set in Apache config with more specific header in a virtual host

Open a popup box after receiving result from ajax

PHPMetrics option --excluded-dirs="myfolder" : myfolder dir is not excluded within docker

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]

Get keys from associative array [duplicate]

LARAVEL: How to fetch id dynamically in a query builder?

About Contact Privacy policy Terms and conditions