• 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

Pages are working fine on localhost but not running on the hosting server

Lumen - Postgresql setup - Composer

Laravel - Implicit route model binding with soft deleted data

Can't call javascript alert alertify library from PHP

Hide specific products from unlogged users based in product category in WooCommerce

Not able to override collapsible.js in magento 2

PHP Fatal error: Class not found - PHPUnit

How to disable only_full_group_by option in Laravel

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

Accessors (Getter) & Mutators (Setter) On a Pivot Table in Laravel

(Cache::lock()) -> get() -- Under what conditions does it return false?

Facebook SDK error: Cross-site request forgery validation failed. Required param "state" missing from persistent data

How to send image,audio or video through the WhatsApp API - PHP

In PHP, which is faster: preg_split or explode?

Modify microseconds of a PHP DateTime object

About Contact Privacy policy Terms and conditions