PHP Classes

PHP Facebook Chat: Send chat messages to friends in Facebook

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 29%Total: 6,834 This week: 1All time: 296 This week: 560Down
Version License PHP version Categories
fb-chat 1.0.0GNU General Publi...5.3PHP 5, Web services, Chat, Social Net...
Description 

Author

This class can be used to send chat messages to friends in Facebook.

It can send a request authenticate on behalf of a given Facebook user.

The class can retrieve the list of friends and send a chat message to a friend that is online.

Picture of De Rosa Luigi
Name: De Rosa Luigi is available for providing paid consulting. Contact De Rosa Luigi .
Classes: 8 packages by
Country: Italy Italy
Age: 30
All time rank: 2036 in Italy Italy
Week rank: 416 Down16 in Italy Italy Down
Innovation award
Innovation award
Nominee: 3x

Example

<?php
include("facebook.class.php");

$obj = new FacebookChat("lurukee@gmail.com", "mypassword");
$obj->login();
print_r($obj->buddylist());
$obj->sendmsg("Hey jhonny, how are u?", "my_friend_id");
?>


  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example
Plain text file facebook.class.php Class Main class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,834
This week:1
All time:296
This week:560Down
User Ratings User Comments (3)
 All time
Utility:38%StarStar
Consistency:45%StarStarStar
Documentation:-
Examples:52%StarStarStar
Tests:-
Videos:-
Overall:29%StarStar
Rank:4292
 
it is not working at all and shows tons of error due to faceb...
9 years ago (soliman maro)
0%Star
Basically, it doesnt work.
14 years ago (simon chapman)
17%Star
Not running
12 years ago (Kuldeep)
17%Star