• 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

Prevent blank space in pdf pages (DomPdf)

How to get rid of ampersand using WP Nonce URL and WP Redirect or PHP header

Get WooCommerce product variation attribute terms in admin products general box

how can I set a session variable in Drupal 8 and get it in a php script?

Why i get wrong output for html markdown?

Star and Half Star Rating in Laravel

Why "Class 'GuzzleHttpClient' not found" even after Installing it in Laravel?

PHP array sort and remove duplicates by two field values

How to make dot match newline characters using regular expressions

Display a product custom field only in WooCommerce Admin single orders

Unable to get password for the instance created from AMI

Is it possible to change the table name in the migration file-laravel

How to get AJAX to post on second page?

Return new collection without modifying original collection

How to get monthly wise data in laravel

About Contact Privacy policy Terms and conditions