• 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

Form Validation and Submission to database

How to disable only_full_group_by option in Laravel

Getting values for an enum?

Move a child array to parent array and change parent/child name

Server-sent events in PHP (without echo or print)

Add 2 Webcam in one page with WebcamJS

Lexik JWT authentication problem "Invalid credentials"

Laravel update hasMany relationship using saveMany

I want a way to give path to my files which are outside of public folder in laravel

Can't exclude directories from .htaccess mobile redirect?

PHPMetrics option --excluded-dirs="myfolder" : myfolder dir is not excluded within docker

Change the alert text on add to cart action without selected variation in Woocommerce

Warning: A non-numeric value encountered

Combine multiple columns into an array as one of the key in a results set

Why does codeigniter & Linux server throws unserialize() session data error when user tries to login

About Contact Privacy policy Terms and conditions