• 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

Error converting docx to pdf using Unoconv

How can I make Laravel return a custom error for a JSON REST API

Cross-Origin Resource Sharing (CORS) witth Laravel and Vuejs

Check If array is null or not in php

Using PHP to connect to a remote MSSQL database

Why rand() every time I refresh the page?

Remove categories with all childs derived from parent category

How can I make good efficent AJAX live forms with just jQuery and

Laravel Mix Uncaught ReferenceError: $ is not defined

Accessors (Getter) & Mutators (Setter) On a Pivot Table in Laravel

json_encode turns array into an object

Use same method for inertia response and json response Laravel Jetstream

What's the net::ERR_HTTP2_PROTOCOL_ERROR about?

Display Brand Name Above Product Title in Woocommerce Cart, Checkout Page, Orders and Email Notification

How to set time with DateTime modify?

About Contact Privacy policy Terms and conditions