• 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

Problem with fetching data from database in Laravel

Laravel 8 factory state afterCreating

Login if user is active using Laravel Breeze

PHP - Check if string contains words longer than 4 characters, then include "+ *", and for those shorter than 4 characters include only "*"

Wordpress wpdb->delete issue

Laravel after login Two factor not working

Fatal error: Array callback has to contain indices 0 and 1

Laravel/ PHP: Order By Alphabetical with numbers in order [duplicate]

How to use functions that are declared in snippets in Evolution CMS (Modx) in an external PHP Script?

Add rows to Single product Additional information table in WooCommerce 3.6

Log file is not being written in Laravel 5.5

Fetch files from next cloud storage and display in Laravel website

Facebook PHP SDK - will not logout properly

Warning: A non-numeric value encountered

How to test laravel controller method?

About Contact Privacy policy Terms and conditions