• 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

MOODLE: What does it mean to aggregate h5p assets?

How to get total pages of PDF with FPDF?

How to find the date a user created their Google account

Docker & Laravel : configure: error: Package requirements (oniguruma) were not met

Laravel implode array items to new lines

Laravel Delete and Update

Add customer email and phone in "Order" column to admin orders list on Woocommerce

How Can I Do LIMIT 1, 2 In WP_Query

AJAX call fails with SyntaxError: Unexpected end of JSON input

How to get values inside <![CDATA[values]] > using php DOM?

Select option menu read from database and use it's values

Prestashop webservice API creating cart rules

Getting values for an enum?

Vimeo API: how to save a vimeo into a subfolder?

How to loop sql table data inside a html table

About Contact Privacy policy Terms and conditions