• 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

MongoDB Duplicate Documents even after adding unique key

Symfony autowiring issues since docker update

What is the difference between client-side and server-side programming?

PHPUnit 7: Failed asserting that exception of type InvalidArgumentException is thrown

Can I write PHP code across multiple lines per statement?

Get lat/lon from google maps url ftid (hex)

Remove product downloads section in woocommerce email notifications

Laravel 5 issue with wherePivot

Transform array, set each array element with parent key php

Convert string to lowercase AND then convert it to its original form in PHP, is it possible?

How to modify CSS in a specific page of the WP admin dashboard (backend)

PHP: Calling MySQL Stored Procedure with Both INPUT AND OUTPUT Parameters (NOT "INOUT")

Confirm Leave on External Links in Wordpress

How can I solve "laravel/horizon v1.1.0 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system"?

What is my SQL missing?

About Contact Privacy policy Terms and conditions