• 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

Target Laravelista is not instantiable

How to make dot match newline characters using regular expressions

Filter WooCommerce products with post__in and additional meta queries

PDOException SQLSTATE[HY000] [2002] No such file or directory

I can't delete my image when it is liked because of the foreign key in mysql

How to edit Records using CodeIgniter

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

How to use a PHP MVC Controller, one thats invoked by calling a URL, to call and execute more than one function? [duplicate]

PHP function Not Working As Expected From functions.php Include File

Laravel: Why is my variable not being set while it's in the construct function of the controller?

retrieve data from database using session

PHP: PDO + CSV export not downloading (headers issue?)

Load a .env file with PHP

Stop caching for PHP 5.5.3 in MAMP

Mobile browsers are adding .html to filename on download

About Contact Privacy policy Terms and conditions