• 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

PHP 8 - libxml_disable_entity_loader() has been deprecated. How do I replace the functionality it provides?

Laravel Mix Uncaught ReferenceError: $ is not defined

XSS attack still works despite htmlspecialchars() doing its work

How to properly start Laravel 8 with Bootstrap & authentication

how to make my own auto increment in php?

args[max_input] woocommerce if statement confused

how to check version of codeigniter framework?

How to change the app environment at run time?

Display Brand Name Above Product Title in Woocommerce Cart, Checkout Page, Orders and Email Notification

Issue saving card for customer

Component install error: JInstaller: :Install: File does not exist

How to fix bootstrap multiselect search data using ajax

using random function but it's displaying duplicates

How to make a array inside array?

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

About Contact Privacy policy Terms and conditions