• 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

500 Internal Server Error on Ajax request. Not sure the origin of the problem

How to skip cart page on woocomerce for certain products only?

Facebook API, get page post link (PHP)

PHP DOTENV unable to load env vars

How to insert data from multiple select dropdown values into database?

Display a product custom field only in WooCommerce Admin single orders

PHP7 CLI attempts to load xdebug twice - "Cannot load Xdebug - it was already loaded"

str_replace or preg_replace random number from string

Merge column values from two arrays to form an indexed array of associative arrays

Mobile browsers are adding .html to filename on download

Transpose and flatten two-dimensional indexed array where rows may not be of equal length

shell errors running php exec

PHP Array split string and Integers

Get lat/lon from google maps url ftid (hex)

phpmyadmin : Depends: php-twig (>= 2.9) but 2.6.2-2 is to be installed. WHAT?

About Contact Privacy policy Terms and conditions