Facebook的状态通过PHP更新 [英] Facebook status update through php
问题描述
我想开发一个机器人将使用PHP更新Facebook帐户的状态。
I want to develop a bot which will update the status of a facebook account using php.
请指导我这个
推荐答案
@Porkchop是正确的,你可能需要在Facebook连接API。要更新Facebook上的用户的状态,你应该看看 Status.set API调用。
@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.
有关编码在PHP GoogleTalk测试机器人也有一些文章,应该让你开始:
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
还要考虑使用 IMified ,该做了很多为你创建和运行聊天机器人的工作
But also consider using IMified, which does a lot of the work of creating and running chat bots for you.
如果你有兴趣,是一种简单的方式来更新你的Facebook状态谷歌Talk状态,你可能不需要去所有的工作 - 只要安装的谷歌Talk状态同步Facebook应用程序。
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.
这篇关于Facebook的状态通过PHP更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!