• 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

PHP Download MP3 files from directory on server

php curl requesting twice

How to Install Composer Require doctrine/dbal

How to send image,audio or video through the WhatsApp API - PHP

How to install PHP composer inside a docker container

php script to delete files older than 24 hrs, deletes all files

Laravel Passport - Not able to get token string in response?

Filter WooCommerce products with post__in and additional meta queries

Failed user login on production server using Symfony framework (Authentication request could not be processed due to...)

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

Match csv filenames to table names and import

php file upload scanning using clamav, permissions on /tmp/

The difference when using if statement true === something() vs something() === true [duplicate]

PHP: set a (deep) array key from an array [closed]

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

About Contact Privacy policy Terms and conditions