• 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

Cannot retrieve error message using Symfony HttpClient if the response is not "ok"

SlimExceptionHttpNotFoundException

Unable to get password for the instance created from AMI

Google Gmail API - How to login programatically?

Send Outlook 2010 email using PHP

How can i hide dt if dd got empty value

How to get multiple values with same key from an array PHP

Laravel Gates using model and returns "Using $this when not in object context" Line 28 of AzureUser model

How to use React Router with Laravel?

Timber: Single post pagination does not work (wp_link_pages)

I need to link Google Sheet with my Laravel

How to fix 'Data has already been sent to output, unable to output PDF file' in MPDF

Add Class in html Dynamically in PHP

How to show a popup modal in codeIgniter?

Artisan, creating tables in database

About Contact Privacy policy Terms and conditions