• 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 should I get started using PHPUnit as a testing framework for a bunch of functions and classes I have already made?

enable Apache http Authorization header

Make Calculator - When Button clicked the No shows in Textbox.

Laravel UUID generation

sqlsrv_num_rows() expects parameter 1 to be resource, boolean given

How to unlink image from folder?

mysql slow on updates for a well optimized query

How do I remove this delivery notification from here?

phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: NO)

How to get quarter for future date using Carbon?

zsh: command not found: php

Only on Firefox "Loading failed for the <script> with source"

Split a string array into pieces

Laravel Sanctum CSRF not authenticating

How in Laravel run JavaScript code stored in php variable?

About Contact Privacy policy Terms and conditions