简体   繁体   中英

Automatic FB wall posting

I do have website for Hotel which has facebook registration module for the users to register. There are two kinds of user for my website, one is normal registered user and second user is Facebook Registered user. 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. Is there is any php-Facebook plugin to meet this requirement?

Automatically posting to peoples Facebook wall is a quick was to get people to stop using your site. I assume you are using the facebook php-sdk to do your login? You need to get offline_access and publish_stream permissions 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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