• 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

(Laravel) How to delete multiple models including optional relationships?

The difference when using if statement true === something() vs something() === true [duplicate]

Move a child array to parent array and change parent/child name

Access denied for user 'homestead'@'localhost' (using password: YES)

PHP's array_map including keys

Phpunit partial mock + proxy Entity

Set quantity minimum, maximum and step at product level in Woocommerce

json_encode turns array into an object

PHP function Not Working As Expected From functions.php Include File

I cannot create a auto generated date time in mysql workbench

jwt decode throws Invalid argument supplied for foreach() on php-jwt and codeignitor 4

laravel 5.6 bulk inserting json data

Symfony run hint kernel.secret parameter not found

Add bold text and line break into Laravel Notification Email

How to programmatically find public properties of a class from inside one of it's methods

About Contact Privacy policy Terms and conditions