简体   繁体   English

自动FB墙张贴

[英]Automatic FB wall posting

I do have website for Hotel which has facebook registration module for the users to register. 我确实有酒店的网站,该网站具有供用户注册的facebook注册模块。 There are two kinds of user for my website, one is normal registered user and second user is Facebook Registered user. 我的网站有两种用户,一种是普通注册用户,第二种是Facebook注册用户。 This seems to work correctly upto this moment.In the website, all the users are allowed to post their own review about hotels,favorites etc. 到目前为止,这似乎仍然可以正常工作。在网站上,所有用户都可以发表自己对酒店,收藏夹等的评论。

I need a way for automatic sharing (posting )of reviews, likes and favourites to the users Facebook friends in the Facebook website.If any users write some reviews this need to be automatically posted to the Facebook wall. 我需要一种将评论,喜欢和收藏夹自动分享(发布)到Facebook网站上的Facebook朋友用户的方法,如果任何用户写了一些评论,则需要自动将其发布到Facebook墙上。 Is there is any php-Facebook plugin to meet this requirement? 是否有任何php-Facebook插件可以满足此要求?

Automatically posting to peoples Facebook wall is a quick was to get people to stop using your site. 自动发布到人们Facebook墙是一种快速的方法,可以使人们停止使用您的网站。 I assume you are using the facebook php-sdk to do your login? 我假设您正在使用facebook php-sdk进行登录? You need to get offline_access and publish_stream permissions http://developers.facebook.com/docs/authentication/permissions/ 您需要获得offline_access和publish_stream权限http://developers.facebook.com/docs/authentication/permissions/

With that, you can then write to the users wall using the permanent access token. 这样,您就可以使用永久访问令牌将其写入用户墙。 See the publishing section here 此处查看发布部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM