• 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

I want to display default profile image if user do not have profile image

Symfony autowiring issues since docker update

Laravel You requested 1 items, but there are only 0 items available

Laravel Excel::store file empty after stored

Post Form Data To phpmyadmin Database

Using Associative arrays

How to get median and quartiles/percentiles of an array in JavaScript (or PHP)?

PHP: Print caught exception like Xdebug

PHP Fatal error: Class not found - PHPUnit

MOODLE: What does it mean to aggregate h5p assets?

Sentry + Laravel: how to log an already catched Exception?

Querying only one row from a one to many relationship laravel

Last order would be re-order in wooCommerce. How is it possible?

curl returning 301 error after migrating to https

Insert a DIV after the 6th product only once in WooCommerce category archives

About Contact Privacy policy Terms and conditions