• 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

500 Internal Server Error on Ajax request. Not sure the origin of the problem

PHP each() function replacement

How to downgrade or install a specific version of Composer?

Laravel 5 session not persisting after user is logged in

Center point of multiple gps coordinates with php

Wordpress wpdb->delete issue

Cannot pass null argument when using type hinting

Return new collection without modifying original collection

How to solve Duplicate entry '0' for key 'PRIMARY' in Wordpress?

Mobile browsers are adding .html to filename on download

Symfony there are no commands defined in the "make" namespace

Encrypt in php and decrypt in Dart(flutter)

How to make Canonicals with PHP

Trying to iterate over a mongodb cursor twice - failing

How to implement placeholder in a php file for moodle plugin?

About Contact Privacy policy Terms and conditions