Facebook status update through php

不问归期 提交于 2019-11-29 13:59:40

问题


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

Please guide me on this


回答1:


@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:

  • Twitter PHP Jabber Bot Tutorial
  • Jabber Simple - A PHP library

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.




回答2:


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




回答3:


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



来源:https://stackoverflow.com/questions/1016730/facebook-status-update-through-php

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!