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.
This blog is about social networks, services, features. Facebook, Twitter - what we have done, our projects, scripts, programs, articles, bots...
Showing posts with label facebook. Show all posts
Showing posts with label facebook. Show all posts
Thursday, March 31, 2011
Wednesday, March 9, 2011
Facebook chat using PHP
Start using Facebook chat in your web sites. It is easy, interesting and gives new opportunities. Read more. The XMPP-Protocol (which is the official name of the “Jabber”-Protocol) is released under open source, Jabber itself has many advantages in comparison to other instant messaging protocols:
It’s open source
It’s based on plain-text, xml-style data
Everyone can set up a own Jabber-Server
It’s decentralized: There are now “central” server
It’s open source
It’s based on plain-text, xml-style data
Everyone can set up a own Jabber-Server
It’s decentralized: There are now “central” server
Labels:
facebook
Tuesday, March 8, 2011
Facebook who of the friends are online script.
Searching how to make it - found 2 variants:
- the first using fql request
- the second connect as jabber client to facebook chat and there find the users status.
No more variants.
- the first using fql request
- the second connect as jabber client to facebook chat and there find the users status.
No more variants.
Facebook chat bot.
Facebook is very popular. There are different programs, scripts people make for Facebook or using it. But not long ago I had a task to make Facebook bot application with minimum bot logic - just answer the messages. The answers were stored in a txt file and ahd format like key=answer. The bot searches for key in the received message and answers. If the key were not found then random answer from the second txt file. The bot was written in Delphi as a jabber (xmpp) client for Facebook chat. The bot works and now we add new features for the bot. It can be used not only for just an answering machine but for advertising - for example Travel Agency starts the bot, you need to know when is the airplane to England - you just send -= air England 30/03/2011 =- and the bot answers you when will be the plane. I think it is ideal for my bot.
Subscribe to:
Posts (Atom)