开发者

Facebook Application and posting to a Page Stream

开发者 https://www.devze.com 2022-12-20 18:51 出处:网络
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 p开发

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 p开发者_运维问答ost 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!


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号