通过cron工作发布新闻Feed [英] Publish news feed through cron job
本文介绍了通过cron工作发布新闻Feed的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可以通过cron工作在用户墙上发布新闻提要,如果是,那么如何,Facebook提供什么?
It is possible to publish news feed on user's wall through a cron job, if yes then how, what does facebook offer to do that?
推荐答案
如果您使用新的图形API使用oauth令牌,那么您应该可以执行此操作:
You should be able to do it if you have the oauth token for the user using the new graph api:
http://developers.facebook.com/docs/reference/api/status
请参见发布到Facebook部分: http://开发人员.facebook.com / docs / api ,演示了如何使用 curl
来实现。
See the 'publishing to facebook' section here: http://developers.facebook.com/docs/api which demonstrates how to use curl
to do it.
这篇关于通过cron工作发布新闻Feed的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文