• 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

How to put php code inside opening and closing shortcodes

Edit XML in HTML form and submit to self

Merge column values from two arrays to form an indexed array of associative arrays

How to use React Router with Laravel?

How to validate Envato Purchase Code in PHP

Coinpayments create_transaction "ERROR: Invalid command!"

How to connect to MSSQL Server with PHP from Ubuntu 18.04?

PHP mail sending empty mails

Redirect to previous page with php

Dropdown with current value from Mysql

Implode array with array of glue strings

Woocommerce Edit Message "An account is already registered with your email address. Please log in."

PHP DOTENV unable to load env vars

MySQL upgrade causing unexpected results on simple WHERE clauses

RabbitMQ PRECONDITION_FAILED - unknown delivery tag

About Contact Privacy policy Terms and conditions