• 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

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

How to MODIFY a Google Docs document via API using search-and-replace?

500 (Internal Server Error) with Laravel & Docker [duplicate]

No definition found for function in vendor vscode

Python - Include another Python script

Remove categories with all childs derived from parent category

How to average columns of data from multiple, flat arrays?

Converting array to string and then back in PHP

mysql_result is defined but mysql_free_result warns it expected a resource

PHP - Check if string contains words longer than 4 characters, then include "+ *", and for those shorter than 4 characters include only "*"

Navigation idle on content download

How to access a var with "-" in PHP [duplicate]

What is my SQL missing?

Smarty: undefined extension class 'Smarty_Internal_Method_Get_Template_Vars'

Timber: Single post pagination does not work (wp_link_pages)

About Contact Privacy policy Terms and conditions