简体   繁体   中英

Facebook Like button that posts to page wall as well?

I have a online shop. On the home page there are products, with a like button. When a person clicks on the button, it goes to their profile and it says that they liked it. However, I also want when the user clicks like, that it is posted to my BUSINESS FACEBOOK PAGE as well.

1. Is this possible?
2. Is this possible using the standard facebook like button?

I am implementing this on a site with Drupal which is using the FBConnect module.

  1. Yes
  2. No

We can't do anything with that standard facebook like button. That's the way it is. However, we can achieve what you want by other means.

Since you're the owner of the business page, you can get the access_token for it, preferably with publish_stream permission . Then you can use edge.create event on the pages with the like button and detect that to publish on your business wall .

Check the links. For the access_token / authentication link, look for "Page Login".

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