Thursday, March 31, 2011

Who is online for Facebook in php

Hi dudes!
One more job is done. Who is online application for facebook. Firstly I want to make it using xmpp - by getting the roaster list. But then I made it by Curl connection to server, saving the cookies and new Curl query to http://www.facebook.com/presence/popout.php - here you can see all your online friends and parse the information from here. I don`t show the sources - it is not difficul and if you need it - just comment.
https://login.facebook.com/login.php?login_attempt=1",true,null,"email=$EMAIL&pass=$PASSWORD - is the string for curl login to Facebook account.

2 comments:

  1. This isn't really a good way to do this, right?
    I would like to create a simple Facebook Chat web app .. but it does not seem that easy =)

    ReplyDelete
  2. Hi! but i did it. i can send you the sources.

    ReplyDelete