• 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 websockets AWS EC2 - Connection failed

cakephp save drag and drop list order to database

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

Reload parent page after submit in iframe

(PHPUnit) PHP Fatal error: Uncaught Error: Call to undefined function each()

Updating and Synchronizing Woocommerce Subscriptions to Custom Date

How to map the two arrays with a duplicate value?

Smarty if isset

str_replace or preg_replace random number from string

How do I upload a laravel project on cPanel shared hosting?

PHP Imap , php 7.4.3 on mac osx catalina

Fatal error: Uncaught Error: Call to undefined method mysqli_stmt::fetch_assoc() [duplicate]

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

MySQL/PHP - Web Based Game -User specific inventory table or 1 giant table? Another option?

How to create a video stream from a single dynamic image in PHP

About Contact Privacy policy Terms and conditions