• 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

Shortcode or PHP inside a shortcode in Wordpress

How to unlink image from folder?

Login if user is active using Laravel Breeze

Problem with fetching data from database in Laravel

Laravel Factory not calling callback 'afterCreating'

Laravel update hasMany relationship using saveMany

Warning: A non-numeric value encountered

PHP's array_map including keys

Access denied for user 'homestead'@'localhost' (using password: YES)

Laravel Gates using model and returns "Using $this when not in object context" Line 28 of AzureUser model

Creating Combinations of Elements

Read users and passwords from a txt file

PHPUnit (Phar) Fatal Error Only When Test Fails

Symfony autowiring issues since docker update

Laravel Carbon throws error The format separator does not match

About Contact Privacy policy Terms and conditions