Login   Register  
PHP Classes

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Popa  >  PHP Facebook Page Parser  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Facebook Page Parser
Get Facebook page likes, comments, other details
Author: By
Last change:
Date: 8 months ago
Size: 427 bytes


Class file image Download
include ("classes/facebook.class.php");

$page_id "162896513752848";

$facebook = new facebook();

$int filter_var($page_idFILTER_SANITIZE_NUMBER_INT);

$data $facebook -> parse($int);

foreach (
$data as $entry) {
$published date("g:i A F j, Y"strtotime($entry -> published));
"<hr />";