PHP Classes

PHP Facebook Chat: Send chat messages to friends in Facebook

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 29%Total: 6,834 All time: 296 This week: 524Down
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: 31
All time rank: 2036 in Italy Italy
Week rank: 192 Up8 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 (2)  
File Role Description
Accessible without login Plain text file example.php Example Example
Plain text file facebook.class.php Class Main class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:6,834
This week:0
All time:296
This week:524Down
User Ratings User Comments (3)
 All time
Utility:38%StarStar
Consistency:45%StarStarStar
Documentation:-
Examples:52%StarStarStar
Tests:-
Videos:-
Overall:29%StarStar
Rank:4358
 
it is not working at all and shows tons of error due to faceb...
10 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