• 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 to upload mpdf file after generating to s3 bucket in php

Laravel: Why is my variable not being set while it's in the construct function of the controller?

Lexik JWT authentication problem "Invalid credentials"

How to get total pages of PDF with FPDF?

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

Redirect to previous page with php

protect images from being copied

image source not readable

Laravel Mix Uncaught ReferenceError: $ is not defined

Reducing authentication calls on external API (Laravel 5.6)

How to loop a tree array with unknown depth and get array blocks?

How to fix this error : Ask your hosting provider to use PHP 7.2.5 or higher for both HTTP and CLI?

Handle error for duplicate entries - PHP/MySQL

How do I call Validator from a namespace with an already existing Validator class

php echo xml documents with header

About Contact Privacy policy Terms and conditions