• 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

Querying only one row from a one to many relationship laravel

Is it possible to change the table name in the migration file-laravel

is there any way to validate a field that sometime is File(image) && sometime is String(Src of same image)

Applying programmatically a coupon to an Order in WooCommerce3

Laravel 8 Multiple Relationships for Factory

Show rotation of tweets using current day of month

Message: Set sys_temp_dir in your php.ini after installed composer

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'posts.post' doesn't exist

Combine multiple columns into an array as one of the key in a results set

How to use functions that are declared in snippets in Evolution CMS (Modx) in an external PHP Script?

GA4 custom event from server side, can someone tell me how i can do the following code in php?

how to sort by a custom appended relation to model

oauth-private.key does not exist or is not readable

Get WooCommerce product variation attribute terms in admin products general box

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

About Contact Privacy policy Terms and conditions