Login   Register  
PHP Classes
elePHPant
Icontem

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 Nurul Ferdous  >  Facebook Inbox Handler  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example
Class: Facebook Inbox Handler
Access the inbox of Facebook users
Author: By
Last change: search key changed
Date: 5 years ago
Size: 511 bytes
 

Contents

Class file image Download
<?php
 
include 'class.fbinbox.php';

$fbi = new FBInbox('your_api_key''your_api_secret',true);

$folderInfo $fbi->getFolderInfo();
$allThreads $fbi->getAllThreads();
$search_results $fbi->searchInbox('word_to_be_searched');
$unread_threads $fbi->getUnreadThreads();
$message $fbi->readMessage('your_theread_id');
?>
<pre>
    <?php
    print_r
($folderInfo);
    
print_r($allThreads);
    
print_r($search_results);
    
print_r($unread_threads);
    
print_r($message);
    
?>
</pre>