• 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

Laravel websockets AWS EC2 - Connection failed

With doctrine ODM, can I embed many subdocuments in a main document?

Composer Curl error 60: SSL certificate problem: unable to get local issuer certificate

str_word_count() function doesn't display Arabic language properly

Uncaught TypeError: Cannot read property 'length' of null when retrieving tags from wp

PHP mail sending empty mails

PHP Get value from JSON [duplicate]

Adding custom body class to the custom archive pages

PHP if in_array() how to get the key as well?

How to add a custom field to all Woocommerce attribute terms using add_action

Convert PHP array into HTML tag attributes separated by spaces

Laravel s3 upload file with metadata using pre-signed url

How can I remove the "Advanced" panel of all blocks in WordPress block editor?

Server-sent events in PHP (without echo or print)

zsh: command not found: php

About Contact Privacy policy Terms and conditions