• 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

PHP: Print caught exception like Xdebug

Magento 2 - How to add new block to admin panel in product page?

OAuth2 Token PHP

phpunit - testing is painfully slow

Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given [duplicate]

How do I remove this delivery notification from here?

Yoast SEO (WordPress Plugin) - Get plugin generated data manually

Not able to access model in the controller mautic

HTML + PHP + PHPMAILER

PHPExcel export HTML table to xlsx

Correct way to use LIKE '%{$var}%' with prepared statements?

PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: no such host known

How to get unique slug to same post-title for other time too?

PHP using str_starts_with for array to exclude same as with wildcard

Nginx disallowing execution of PHP in uploads directory with Magento

About Contact Privacy policy Terms and conditions