• 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 Multi-language routes without prefix

Cross-Origin Resource Sharing (CORS) witth Laravel and Vuejs

ldap is missing from system when installing adldap2 in laravel

Facebook API, get page post link (PHP)

Using spatie/media-library, how to rename a collection of uploaded files?

Getting error: CodeIgniterDatabaseBaseResult::getResult in CodeIgniter

Get data from accuweather api url

Symfony/Form add attribute based on the data

SMTP "Error: DATA not accepted from server!" Opencart 2.3 on InMotionHosting

Make survey at laravel 5.4 and MySQL

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

Toggle between a textbox and a select using PHP

Limit of log line written to Apache Errorlog from mod php error_log

Need to display only array value in JSON output

Login if user is active using Laravel Breeze

About Contact Privacy policy Terms and conditions