• 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

How to make a array inside array?

woocommerce change position of price

How can i hide dt if dd got empty value

Elasticsearch - Want to sort by field in all indices where that particular field available or not if not then avoid it

Add rows to Single product Additional information table in WooCommerce 3.6

SQL to convert multiple rows into a single row of variable length

"Mixed content blocked" when running an HTTP AJAX operation in an HTTPS page

Undefined Array Key error when uploading image on php

Warning: A non-numeric value encountered

Laravel implode array items to new lines

PHP: Insert marker every 3 iterations

Change user role if checkout custom checkbox is checked in WooCommerce

OAuth2 Token PHP

Exception thrown during the rendering of a template("Parameter "id" for route "url" must match "[^/]++" ("" given) to generate a corresponding URL.")

Laravel Mix Uncaught ReferenceError: $ is not defined

About Contact Privacy policy Terms and conditions