• 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

Doctrine ORM: Excluding Records Based on Values of Nested Relationships

Creating command to backup MySql database in Laravel

virtctl works when executed via command line but not from php exec()

How to properly set "0000-00-00 00:00:00" as a DateTime in PHP

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

Malformed MIME header error in Symfony 5.3

CSS file not imported in laravel blade view

how to search for a file with php

How update php.ini on a Mac OS X Mojave?

PHPS source file - 403 Forbidden You don't have permission to access this resource

Laravel Multi-language routes without prefix

mysql slow on updates for a well optimized query

How to create laravel storage symbolic link for production or sub domain system?

Woocommerce Edit Message "An account is already registered with your email address. Please log in."

Access relation of pivot table in Laravel

About Contact Privacy policy Terms and conditions