• 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

Using Associative arrays

Webscraping Symfony/Panther: Can't get HTML

Warning: mysqli_stmt::bind_param(): Number of elements in type definition string doesn't match number of bind variables 11 [closed]

Convert string to lowercase AND then convert it to its original form in PHP, is it possible?

Minimum order amount except for specific shipping method in WooCommerce

How to get company posts from LinkedIn via API?

Laravel/ PHP: Order By Alphabetical with numbers in order [duplicate]

AJAX call fails with SyntaxError: Unexpected end of JSON input

Shopify password update using Shopify API

Additional price based on cart item count in WooCommerce

How to loop sql table data inside a html table

Add and update products to session cart in Laravel

PHP Discord OAUTH2 code sample not working

Using spatie/media-library, how to rename a collection of uploaded files?

Laravel Pagination links() not working

About Contact Privacy policy Terms and conditions