8

I want to develop a bot which will update the status of a facebook account using php.

Please guide me on this

Colin Pickard
  • 45,724
  • 13
  • 98
  • 148
  • Check this question http://stackoverflow.com/questions/874512/update-facebook-status-from-site – Shoban Jun 19 '09 at 07:25
  • This bot already exists: it connects to facebook, performs the login and then sets the status. You can find it here: > http://www.barattalo.it/2010/03/01/php-curl-bot-to-update-facebook-status/ – Pons Mar 01 '10 at 21:59

3 Answers3

3

@Porkchop is correct, you will probably need the Facebook Connect API. To update a users status on Facebook, you should look at the Status.set API call.

For coding a googletalk bot in php there are some articles that should get you started:

But also consider using IMified, which does a lot of the work of creating and running chat bots for you.


If all you are interested in is a simple way to update your Facebook status from you Google Talk status, you probably don't need to go to all that work - just install the 'Google Talk Status Synchronizer' facebook application.

Colin Pickard
  • 45,724
  • 13
  • 98
  • 148
1

You could hire somebody to do it for cheap by outsourcing it, i mean thats what i do when i dont know code.

James P.
  • 19,313
  • 27
  • 97
  • 155
Best HD TV
  • 11
  • 1
0

Since you are coding in PHP, I recommend using Jaxl (Jabber XMPP Library). It supports bot authentication using X-FACEBOOK-PLATFORM and updating facebook status should be a one line task using the library. http://github.com/abhinavsingh/JAXL

Abhinav Singh
  • 2,643
  • 1
  • 19
  • 29