• 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

Ajax GET request fails in laravel 8

Using spatie/media-library, how to rename a collection of uploaded files?

Querying only one row from a one to many relationship laravel

In PHP, which is faster: preg_split or explode?

Upgrade PHP on AWS Linux

PHP: remove filename from path

Check If array is null or not in php

Sum array values

Get sum of arrays inside array

Attempted to call an undefined method named "get" of class "MailController"

Losing session data after POST from third party website

Google Gmail API - How to login programatically?

Only on Firefox "Loading failed for the <script> with source"

PDOException SQLSTATE[HY000] [2002] No such file or directory

How to solve Duplicate entry '0' for key 'PRIMARY' in Wordpress?

About Contact Privacy policy Terms and conditions