• 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

Magento 2 - Controller returning blank page

HTML and PHP in one file

Why isn't my PHP exception working?

How to insert Google Adsense Code in PHP script?

Wordpress wpdb->delete issue

how to use extended ASCII instead of unicode in PHP

PHP Array split string and Integers

Message: Set sys_temp_dir in your php.ini after installed composer

passwordless LDAP login and get user information using Kerberos ticket in PHP

How do I call a php file with axios?

Any AWS EB Laravel route getting 404 Not Found nginx/1.16.1

Prestashop cUrl Login

How to change the app environment at run time?

How to get the survey List from surveygizmo API in the Postman?(Trial Version)

How update php.ini on a Mac OS X Mojave?

About Contact Privacy policy Terms and conditions