• 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

Input and output values for php into the browser?

Fatal error: Trait 'LaminasDbAdapterLaminasDbAdapterAdapterInterface' not found in /var/www/vendor/laminas/laminas-db/src/Adapter/Adapter.php

Laravel 4 Redirect::back() not going to previous page (refreshing current page)

Laravel-fopen: failed to open stream: Permission denied

Custom add to cart button URL for specific product in WooCommerce?

Laravel SQL query midnight time not showing

How avoid Moved Permanently The document has moved here

PhP how to calculate moments with variables rows

Laravel PackageManifest.php: Undefined index: name

Facebook SDK error: Cross-site request forgery validation failed. Required param "state" missing from persistent data

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

How can I get new CSRF token in LARAVEL by using ajax

nginx err_connection_refused, can anyone help me?

How to Make Laravel Eloquent "IN" Query?

Laravel csrf token mismatch for ajax POST Request

About Contact Privacy policy Terms and conditions