• 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

PHP mail sending empty mails

How do I call a php file with axios?

How to write PHP in XSLT

SQLSTATE[HY000]: General error: 1 table posts has no column named *

Unsure why I am getting: Number of variables doesn't match number of parameters in prepared statement

Change the alert text on add to cart action without selected variation in Woocommerce

MySQL order by field in Eloquent

Symfony redirect if already loggedin from login page

How to debug in WooCommerce 3+

"There is no active transaction" when refreshing database in Laravel 8.0 test

WooCommerce Additional Information - if empty, hide

How to retrieve Active Directory group policy maximum password age using LDAP

How to run a shell as root from php (apache)

Laravel Passport - Not able to get token string in response?

Can I use a WooCommerce function without any WooCommerce page?

About Contact Privacy policy Terms and conditions