• 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

How to set time with DateTime modify?

MySQL/PHP - Web Based Game -User specific inventory table or 1 giant table? Another option?

PHP Form Not Inserting

Fatal error: Trait 'LaminasDbAdapterLaminasDbAdapterAdapterInterface' not found in /var/www/vendor/laminas/laminas-db/src/Adapter/Adapter.php

Refresh specific HTML content that retrieves data from MySQL

Call to undefined function openssl_decrypt

Magento 2 - Controller returning blank page

send email using gmail-api and google-api-php-client

cakephp save drag and drop list order to database

Symfony Make:Migration : The metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue

PHP to search within txt file and echo the whole line

How to install LDAP in Docker php-fpm alpine

Why isn't my PHP exception working?

Put content of wordpress page inside div

phpseclib 2.0 can not use Composer to create autoload

About Contact Privacy policy Terms and conditions