• 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

Cannot connect to own websocket server when on secured domain

PHP my timezone is no setting up in PHP.ini File in xampp

Laravel eloquent update record without loading from database

PHP header location absolute URL

Symfony process run throws exception - executing on command line works

How to solve cURL error 60: SSL certificate in Laravel 5 while Facebook authentication

Getting values for an enum?

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

PHP SoapClient: set a namespace without prefix

PHP using str_starts_with for array to exclude same as with wildcard

Post Form Data To phpmyadmin Database

Store / Website Column in Magento 2 Admin Grid - Custom Module

Combine multiple columns into an array as one of the key in a results set

Remove "estimated for {country}" text after tax amount in Woocommerce checkout page

Error when uploading certain .png files "Interlace handling should be turned on when using png_read_image"

About Contact Privacy policy Terms and conditions