• 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

SilverStripe unable to populate multiple member Childs

Yii Ajax Submit button

Add rows to Single product Additional information table in WooCommerce 3.6

Search for array row with specific column value and return another value from qualifying row

SQL to convert multiple rows into a single row of variable length

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

Having issue with matching rows in the database using PDO

How to get values inside <![CDATA[values]] > using php DOM?

jQuery Ajax Post with data

Create tags in laravel post publishing

How to skip cart page on woocomerce for certain products only?

Why does codeigniter & Linux server throws unserialize() session data error when user tries to login

Check If array is null or not in php

PHP: convert all UTF-8 characters to HTML entities

renameColumn migration fails for existing column with columns does not exist error

About Contact Privacy policy Terms and conditions