• 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

What is PHP's equivalent of JavaScript's "array.every()"?

How to update array value in Laravel

api response laravel doesn't show

PHP-Sort array based on another array?

Get number of working days between two dates in PHP [duplicate]

Convert PHP array into HTML tag attributes separated by spaces

How to submit the custom form data in database in WordPress without plugin using ajax?

Laravel - Implicit route model binding with soft deleted data

curl returning 301 error after migrating to https

How to display table header in every page using FPDF library?

Encrypt in php and decrypt in Dart(flutter)

xdebug 3 not working in ubuntu 20.04 with docker

Yoast SEO (WordPress Plugin) - Get plugin generated data manually

Session timeout in Yii2

retrieve data from database using session

About Contact Privacy policy Terms and conditions