• 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

Cut an arabic string

httpd.conf on Windows: can't locate API model structure `php8_module`

PHP returning an error message and false

How to get rid of ampersand using WP Nonce URL and WP Redirect or PHP header

PHP 8 - libxml_disable_entity_loader() has been deprecated. How do I replace the functionality it provides?

Symfony run hint kernel.secret parameter not found

Woocommerce Checkout - Add conditional field required if one field is filled

PHP: How to solve ob_start() in combination imagepng() issue?

Create a zip file and download it

Check If array is null or not in php

Filter array by skipping every nth element from the end

how to loop through json response data using ajax jquery?

Can't call javascript alert alertify library from PHP

How to submit the custom form data in database in WordPress without plugin using ajax?

How to get AJAX to post on second page?

About Contact Privacy policy Terms and conditions