Facebook 应用程序并发布到页面流
像往常一样,由于 Facebook API 文档中缺乏明确的指南,我遇到了问题。
基本上我已经创建了一个安装到 Facebook 页面的应用程序,我想通过我的服务器定期自动发布到这些页面的流(当然,愿意对其进行授权等),但我无法找到如何做到这一点。我看过流写入等,但不确定如何最好地利用它。我已经查看了扩展权限,这是否只适用于页面?我正在尝试,但目前运气不太好。
大家有什么想法吗?另外,我现在可以利用主页管理员在发布到主页时拥有的新的用户“定位”吗?
解决了我之前的问题,现在只是想知道我是否可以像现在允许页面管理员那样定位目标帖子。
顺便说一句,我正在使用带有最新库更新的 PHP。
非常感谢!
As usual, I'm having problems due to a lack of clear guide in the Facebook API Documentation.
Basically I have created an application that is installed to Facebook Pages, I want to periodically post automatically via my server to the Stream of these pages (of course, willing to have it authorised, etc), but I am just unable to find how to do this. I've looked at stream write, etc, but not sure how to best make use of this. I've looked at Extended Permissions, should this simply just work for Pages? I'm experimenting but not having too much luck at the moment.
Any ideas guys? Also, am I able to make use of the new "targetting" of users that Page administrators have when posting to a Page now?
Sorted out my previous problem, simply now wondering whether I can location target posts as Page admins are now allowed to do.
I am using PHP with the latest library updates btw.
Big thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
发布 feed 故事/流的方法是使用
stream.publish
函数,请在此处查看:http://wiki.developers.facebook.com/index.php/Stream.publish
而对于自动发布,你需要使用 cron 作业,这里是如何获取以此开始:
http://www.aota.net/Script_Installation_Tips/cronhelp.php3
The way to post feed stories/streams is to use
stream.publish
function, check it out here:http://wiki.developers.facebook.com/index.php/Stream.publish
And for automated publishing, you need to use cron job, here is how to get started with that:
http://www.aota.net/Script_Installation_Tips/cronhelp.php3