• 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 do i retrieve and display the alt text of an image in wordpress?

Transpose csv file data [duplicate]

"properties should not be accessed directly" issue during WooCommerce 3.0 checkout

Get data from accuweather api url

Laravel Excel::store file empty after stored

Remove "estimated for {country}" text after tax amount in Woocommerce checkout page

Yii2: How to download backup files using spanjeta/yii2-backup?

Can't exclude directories from .htaccess mobile redirect?

How to make a array inside array?

Laravel - How to properly generate unique slugs from article titles?

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'name' cannot be null

Star rating with half star support

How to use PHPCBF to fix one issue at a time?

Call authenticate manually in router middleware

How to install php_imagick on wamp64

About Contact Privacy policy Terms and conditions