• 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 override htaccees file for cache control header

How should I get started using PHPUnit as a testing framework for a bunch of functions and classes I have already made?

json_encode turns array into an object

How to load Codeigniter 4 lang file into an array variable

Get sum of arrays inside array

Cross-Origin Resource Sharing (CORS) witth Laravel and Vuejs

How to separate letters and digits from a string in php

301 Redirect to remove query string on homepage only

Creating a config file in PHP

CodeIgniter 3 is generating a session file on each request, why?

WooCommerce - unset "<product> removed notice…" on cart page

Get orders by date and status woocommerce

Match csv filenames to table names and import

str_replace or preg_replace random number from string

Boolean assignment operators in PHP

About Contact Privacy policy Terms and conditions